Variants
Read
Further receptions will be disallowed.
Write
Further transmissions will be disallowed.
Both
Further receptions and transmissions will be disallowed.
Trait Implementations
impl Debug for Shutdown
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Hash for Shutdown
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl StructuralEq for Shutdown
impl StructuralPartialEq for Shutdown
Auto Trait Implementations
impl RefUnwindSafe for Shutdown
impl UnwindSafe for Shutdown
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T