enum State<T, B>where
B: HttpBody,{
Handshaking {
ping_config: Config,
hs: Handshake<T, SendBuf<B::Data>>,
},
Serving(Serving<T, B>),
Closed,
}
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