pub struct PT_FSRELPATH<'a>(pub &'a Path);
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: &'a Path
Trait Implementations§
source§impl<'a> Debug for RelativePath<'a>
impl<'a> Debug for RelativePath<'a>
source§impl<'a, F> Format<F> for RelativePath<'a>
impl<'a, F> Format<F> for RelativePath<'a>
source§impl<'a> FromBytes<'a> for RelativePath<'a>
impl<'a> FromBytes<'a> for RelativePath<'a>
source§fn from_bytes(buf: &mut &'a [u8]) -> FromBytesResult<Self>
fn from_bytes(buf: &mut &'a [u8]) -> FromBytesResult<Self>
Read the binary representation of a field and return the parsed representation Read more
source§fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> FromBytesResult<Self>
fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> FromBytesResult<Self>
Read the binary representation of a field from a buffer that may or may not exist Read more
source§impl<'a> Serialize for RelativePath<'a>
impl<'a> Serialize for RelativePath<'a>
source§impl<'a> ToBytes for RelativePath<'a>
impl<'a> ToBytes for RelativePath<'a>
Auto Trait Implementations§
impl<'a> Freeze for RelativePath<'a>
impl<'a> RefUnwindSafe for RelativePath<'a>
impl<'a> Send for RelativePath<'a>
impl<'a> Sync for RelativePath<'a>
impl<'a> Unpin for RelativePath<'a>
impl<'a> UnwindSafe for RelativePath<'a>
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