pub struct GetWithHashValue<T> {
pub value: T,
pub hash: Vec<u8>,
}Expand description
A value retrieved from the cache along with its hash.
Fields§
§value: TThe extracted value.
hash: Vec<u8>The hash of the value.
Auto Trait Implementations§
impl<T> Freeze for GetWithHashValue<T>where
T: Freeze,
impl<T> RefUnwindSafe for GetWithHashValue<T>where
T: RefUnwindSafe,
impl<T> Send for GetWithHashValue<T>where
T: Send,
impl<T> Sync for GetWithHashValue<T>where
T: Sync,
impl<T> Unpin for GetWithHashValue<T>where
T: Unpin,
impl<T> UnsafeUnpin for GetWithHashValue<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for GetWithHashValue<T>where
T: UnwindSafe,
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