pub struct PathKey(pub PathBuf);Expand description
The key of a last-writer entry: an absolute path.
Tuple Fields§
§0: PathBufTrait Implementations§
impl Eq for PathKey
Source§impl Ord for PathKey
impl Ord for PathKey
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for PathKey
impl PartialOrd for PathKey
Source§impl RecordKey for PathKey
impl RecordKey for PathKey
Source§fn encode_key(&self, out: &mut Vec<u8>)
fn encode_key(&self, out: &mut Vec<u8>)
Appends the key’s bytes to
out.Source§fn decode_key(bytes: &[u8]) -> Option<Self>
fn decode_key(bytes: &[u8]) -> Option<Self>
The key from its bytes, or
None when they are not a key of this type.impl StructuralPartialEq for PathKey
Auto Trait Implementations§
impl Freeze for PathKey
impl RefUnwindSafe for PathKey
impl Send for PathKey
impl Sync for PathKey
impl Unpin for PathKey
impl UnsafeUnpin for PathKey
impl UnwindSafe for PathKey
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.