Type Alias PT_FSPATH

pub type PT_FSPATH = Path<UnixEncoding>;
Expand description

Represents a Unix-specific [Path]

Aliased Type§

struct PT_FSPATH { /* private fields */ }

Trait Implementations§

Source§

impl<'a> FromBytes<'a> for &'a UnixPath

Source§

fn from_bytes(buf: &mut &'a [u8]) -> Result<Self, FromBytesError>

Read the binary representation of a field and return the parsed representation Read more
Source§

fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> Result<Self, FromBytesError>

Read the binary representation of a field from a buffer that may or may not exist Read more
Source§

impl ToBytes for &UnixPath

Source§

fn binary_size(&self) -> usize

Return the number of bytes needed to store the field
Source§

fn write<W: Write>(&self, writer: W) -> Result<()>

Write the binary representation to writer
Source§

fn default_repr() -> impl ToBytes

Return the default representation for the field type Read more