Struct ShutdownKind
#[repr(transparent)]pub struct ShutdownKind(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl ShutdownKind
impl ShutdownKind
Trait Implementations§
§impl Clone for ShutdownKind
impl Clone for ShutdownKind
§fn clone(&self) -> ShutdownKind
fn clone(&self) -> ShutdownKind
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 more§impl Debug for ShutdownKind
impl Debug for ShutdownKind
§impl Default for ShutdownKind
impl Default for ShutdownKind
§fn default() -> ShutdownKind
fn default() -> ShutdownKind
Returns the “default value” for a type. Read more
§impl PartialEq for ShutdownKind
impl PartialEq for ShutdownKind
impl Copy for ShutdownKind
impl Eq for ShutdownKind
impl StructuralPartialEq for ShutdownKind
Auto Trait Implementations§
impl Freeze for ShutdownKind
impl RefUnwindSafe for ShutdownKind
impl Send for ShutdownKind
impl Sync for ShutdownKind
impl Unpin for ShutdownKind
impl UnwindSafe for ShutdownKind
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