pub enum StreamEof {
Data(Bytes),
Trailers(HeaderMap),
Error(StreamError),
}Variants
Data(Bytes)
Trailers(HeaderMap)
Error(StreamError)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StreamEof
impl Send for StreamEof
impl Sync for StreamEof
impl Unpin for StreamEof
impl !UnwindSafe for StreamEof
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more