pub(super) enum State<I, S, F, E> {
Running {
drain: Option<(Signal, Watch)>,
server: Server<I, S, E>,
signal: F,
},
Draining {
draining: Draining,
},
}
Variants§
Trait Implementations§
impl<'__pin, I, S, F, E> Unpin for State<I, S, F, E>where
PinnedFieldsOf<__Origin<'__pin, I, S, F, E>>: Unpin,
Auto Trait Implementations§
impl<I, S, F, E> Freeze for State<I, S, F, E>
impl<I, S, F, E> !RefUnwindSafe for State<I, S, F, E>
impl<I, S, F, E> Send for State<I, S, F, E>
impl<I, S, F, E> Sync for State<I, S, F, E>
impl<I, S, F, E> !UnwindSafe for State<I, S, F, E>
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