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