pub struct Shutdown { /* private fields */ }Expand description
Shutdown source owned by exactly one production worker runtime.
A proof issued by the explicit single-runtime shutdown API cannot be retagged as a production process proof:
ⓘ
use dope_runtime::{process, shutdown};
fn retag(
requested: shutdown::Requested,
) -> shutdown::Requested<process::Shutdown> {
requested
}Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Shutdown
impl !RefUnwindSafe for Shutdown
impl !Sync for Shutdown
impl Send for Shutdown
impl Unpin for Shutdown
impl UnsafeUnpin for Shutdown
impl UnwindSafe for Shutdown
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