pub struct ShutdownMsg(pub u8);
Expand description
Shutdown message.
Tuple Fields§
§0: u8
Trait Implementations§
Source§impl<'__de> BorrowDecode<'__de> for ShutdownMsg
impl<'__de> BorrowDecode<'__de> for ShutdownMsg
Source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for ShutdownMsg
impl Clone for ShutdownMsg
Source§fn clone(&self) -> ShutdownMsg
fn clone(&self) -> ShutdownMsg
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 ShutdownMsg
impl Debug for ShutdownMsg
Source§impl Decode for ShutdownMsg
impl Decode for ShutdownMsg
Auto Trait Implementations§
impl Freeze for ShutdownMsg
impl RefUnwindSafe for ShutdownMsg
impl Send for ShutdownMsg
impl Sync for ShutdownMsg
impl Unpin for ShutdownMsg
impl UnwindSafe for ShutdownMsg
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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