pub struct ArchiveKey<'bytes> { /* private fields */ }
Expand description
A key for indexing into the relevant mapping.
Implementations§
Trait Implementations§
Source§impl<'bytes> Borrow<DirectoryHash> for Key<'bytes>
impl<'bytes> Borrow<DirectoryHash> for Key<'bytes>
Source§fn borrow(&self) -> &DirectoryHash
fn borrow(&self) -> &DirectoryHash
Immutably borrows from an owned value. Read more
Source§impl From<DirectoryHash> for Key<'static>
impl From<DirectoryHash> for Key<'static>
Source§fn from(value: DirectoryHash) -> Self
fn from(value: DirectoryHash) -> Self
Converts to this type from the input type.
Source§impl<'bytes> Ord for Key<'bytes>
impl<'bytes> Ord for Key<'bytes>
Source§impl<'bytes> PartialOrd for Key<'bytes>
impl<'bytes> PartialOrd for Key<'bytes>
impl<'bytes> Eq for Key<'bytes>
Auto Trait Implementations§
impl<'bytes> Freeze for Key<'bytes>
impl<'bytes> RefUnwindSafe for Key<'bytes>
impl<'bytes> Send for Key<'bytes>
impl<'bytes> Sync for Key<'bytes>
impl<'bytes> Unpin for Key<'bytes>
impl<'bytes> UnwindSafe for Key<'bytes>
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