pub enum ShutdownNotification {
NoNotification,
NormalShutdown,
AbruptShutdown,
}
Variants§
Trait Implementations§
source§impl CheckDiscriminantInRange<[(); 2]> for ShutdownNotification
impl CheckDiscriminantInRange<[(); 2]> for ShutdownNotification
source§impl CheckDiscriminantInRange<[(); 0]> for ShutdownNotification
impl CheckDiscriminantInRange<[(); 0]> for ShutdownNotification
source§impl CheckDiscriminantInRange<[(); 1]> for ShutdownNotification
impl CheckDiscriminantInRange<[(); 1]> for ShutdownNotification
source§impl Clone for ShutdownNotification
impl Clone for ShutdownNotification
source§fn clone(&self) -> ShutdownNotification
fn clone(&self) -> ShutdownNotification
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShutdownNotification
impl Debug for ShutdownNotification
source§impl Specifier for ShutdownNotification
impl Specifier for ShutdownNotification
source§type InOut = ShutdownNotification
type InOut = ShutdownNotification
The interface type of the specifier. Read more
source§fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts some bytes into the in-out type. Read more
source§fn from_bytes(
bytes: Self::Bytes,
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
fn from_bytes( bytes: Self::Bytes, ) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
Converts the given bytes into the in-out type. Read more
impl Copy for ShutdownNotification
Auto Trait Implementations§
impl Freeze for ShutdownNotification
impl RefUnwindSafe for ShutdownNotification
impl Send for ShutdownNotification
impl Sync for ShutdownNotification
impl Unpin for ShutdownNotification
impl UnwindSafe for ShutdownNotification
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)