pub enum Data<K> {
Chunk(Vec<u8>),
TargetChunk(Vec<K>),
}
Expand description
Contains either a chunk produced by [Chunker], or a vector of target keys, using which the initial chunk can be restored.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<K> Freeze for Data<K>
impl<K> RefUnwindSafe for Data<K>where
K: RefUnwindSafe,
impl<K> Send for Data<K>where
K: Send,
impl<K> Sync for Data<K>where
K: Sync,
impl<K> Unpin for Data<K>where
K: Unpin,
impl<K> UnwindSafe for Data<K>where
K: 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