pub enum DeepHashChunk<'a> {
Chunk(Bytes),
Stream(&'a mut Pin<Box<dyn Stream<Item = Result<Bytes>>>>),
Chunks(Vec<DeepHashChunk<'a>>),
}Variants§
Chunk(Bytes)
Stream(&'a mut Pin<Box<dyn Stream<Item = Result<Bytes>>>>)
Chunks(Vec<DeepHashChunk<'a>>)
Auto Trait Implementations§
impl<'a> !Freeze for DeepHashChunk<'a>
impl<'a> !RefUnwindSafe for DeepHashChunk<'a>
impl<'a> !Send for DeepHashChunk<'a>
impl<'a> !Sync for DeepHashChunk<'a>
impl<'a> Unpin for DeepHashChunk<'a>
impl<'a> !UnwindSafe for DeepHashChunk<'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