pub enum Data<B> {
Written(NonZero<usize>),
Blocked(B),
}Expand description
Result of emitting a non-empty body prefix.
Variants§
Trait Implementations§
impl<B: Copy> Copy for Data<B>
impl<B: Eq> Eq for Data<B>
impl<B: PartialEq> StructuralPartialEq for Data<B>
Auto Trait Implementations§
impl<B> Forget for Data<B>
impl<B> Freeze for Data<B>where
B: Freeze,
impl<B> RefUnwindSafe for Data<B>where
B: RefUnwindSafe,
impl<B> Send for Data<B>where
B: Send,
impl<B> Sync for Data<B>where
B: Sync,
impl<B> Unpin for Data<B>where
B: Unpin,
impl<B> UnsafeUnpin for Data<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for Data<B>where
B: 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