enum State<T, B>where
B: Body,{
Handshaking {
ping_config: Config,
hs: Handshake<Compat<T>, SendBuf<B::Data>>,
},
Serving(Serving<T, B>),
}Variants§
Auto Trait Implementations§
impl<T, B> !Freeze for State<T, B>
impl<T, B> !RefUnwindSafe for State<T, B>
impl<T, B> Send for State<T, B>
impl<T, B> Sync for State<T, B>
impl<T, B> Unpin for State<T, B>where
T: Unpin,
impl<T, B> !UnwindSafe for State<T, B>
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