pub struct PT_FSRELPATH(pub PathBuf);
Expand description
A relative path
Events containing a parameter of this type will have an extra method available, derived
from the field name. For example, if the field is called name
, the event type will have
a method called name_dirfd
that returns the corresponding dirfd
(as an Option<PT_FD>
)
Tuple Fields§
§0: PathBuf
Trait Implementations§
source§impl Debug for OwnedRelativePath
impl Debug for OwnedRelativePath
source§impl<'de> Deserialize<'de> for OwnedRelativePath
impl<'de> Deserialize<'de> for OwnedRelativePath
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OwnedRelativePath
impl RefUnwindSafe for OwnedRelativePath
impl Send for OwnedRelativePath
impl Sync for OwnedRelativePath
impl Unpin for OwnedRelativePath
impl UnwindSafe for OwnedRelativePath
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> ToBytes for Twhere
T: Borrow + 'static,
<T as Borrow>::Borrowed<'a>: for<'a> ToBytes,
impl<T> ToBytes for Twhere
T: Borrow + 'static,
<T as Borrow>::Borrowed<'a>: for<'a> ToBytes,
source§fn binary_size(&self) -> usize
fn binary_size(&self) -> usize
Return the number of bytes needed to store the field
source§fn write<W>(&self, writer: W) -> Result<(), Error>where
W: Write,
fn write<W>(&self, writer: W) -> Result<(), Error>where
W: Write,
Write the binary representation to
writer
source§fn default_repr() -> impl ToBytes
fn default_repr() -> impl ToBytes
Return the default representation for the field type Read more