pub struct PT_FSRELPATH<'a>(pub &'a UnixPath);
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 UnixPath
Trait Implementations§
Source§impl<'a> Clone for RelativePath<'a>
impl<'a> Clone for RelativePath<'a>
Source§fn clone(&self) -> RelativePath<'a>
fn clone(&self) -> RelativePath<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RelativePath<'_>
impl Debug for RelativePath<'_>
Source§impl<'a> FromBytes<'a> for RelativePath<'a>
impl<'a> FromBytes<'a> for RelativePath<'a>
Source§fn from_bytes(buf: &mut &'a [u8]) -> Result<Self, FromBytesError>
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>
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<'a> Hash for RelativePath<'a>
impl<'a> Hash for RelativePath<'a>
Source§impl<'a> Ord for RelativePath<'a>
impl<'a> Ord for RelativePath<'a>
Source§fn cmp(&self, other: &RelativePath<'a>) -> Ordering
fn cmp(&self, other: &RelativePath<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for RelativePath<'a>
impl<'a> PartialEq for RelativePath<'a>
Source§impl<'a> PartialOrd for RelativePath<'a>
impl<'a> PartialOrd for RelativePath<'a>
Source§impl<'a> ToBytes for RelativePath<'a>
impl<'a> ToBytes for RelativePath<'a>
impl<'a> Copy for RelativePath<'a>
impl<'a> Eq for RelativePath<'a>
impl<'a> StructuralPartialEq 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