enum State<T, F> {
PollBody {
body: T,
trailers: Option<F>,
},
PollTrailers {
trailers: F,
prev_trailers: Option<HeaderMap>,
},
Done,
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T, F> Freeze for State<T, F>
impl<T, F> RefUnwindSafe for State<T, F>where
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<T, F> Send for State<T, F>
impl<T, F> Sync for State<T, F>
impl<T, F> UnwindSafe for State<T, F>where
T: UnwindSafe,
F: 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