pub enum ShutdownStreamState {
Waiting,
Graceful {
sleep: Option<Pin<Box<Sleep>>>,
},
Done,
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShutdownStreamState
impl !RefUnwindSafe for ShutdownStreamState
impl Send for ShutdownStreamState
impl Sync for ShutdownStreamState
impl Unpin for ShutdownStreamState
impl !UnwindSafe for ShutdownStreamState
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