enum Phase {
PassThrough,
ReadHeader(ByteBuf),
WriteSplice {
bytes: ByteBuf,
written: u8,
},
Truncated,
}Variants§
PassThrough
Copying the current stream through to the output.
ReadHeader(ByteBuf)
Buffering the start of a new stream until it can be spliced onto the output.
WriteSplice
The new stream has been spliced on; these bytes of the splice are waiting for output space.
Truncated
The new stream ended before its first meta-block header did.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
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