pub enum Control<B> {
Written,
Prepared(B),
Blocked(B),
}Expand description
Result of emitting one complete head or trailer field section.
Variants§
Written
Prepared(B)
Encoded once and retained by the carrier; retry with Write::commit.
Blocked(B)
Not admitted; a later call must provide the source again.
Trait Implementations§
impl<B: Copy> Copy for Control<B>
impl<B: Eq> Eq for Control<B>
impl<B: PartialEq> StructuralPartialEq for Control<B>
Auto Trait Implementations§
impl<B> Forget for Control<B>
impl<B> Freeze for Control<B>where
B: Freeze,
impl<B> RefUnwindSafe for Control<B>where
B: RefUnwindSafe,
impl<B> Send for Control<B>where
B: Send,
impl<B> Sync for Control<B>where
B: Sync,
impl<B> Unpin for Control<B>where
B: Unpin,
impl<B> UnsafeUnpin for Control<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for Control<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