Enum async_std::net::Shutdown 1.0.0[−][src]
Possible values which can be passed to the TcpStream::shutdown
method.
Variants
The reading portion of the TcpStream
should be shut down.
The writing portion of the TcpStream
should be shut down.
All currently blocked and future writes will return an error.
Both the reading and the writing portions of the TcpStream
should be shut down.
See Shutdown::Read
and Shutdown::Write
for more information.
Trait Implementations
impl Clone for Shutdown
[src]
impl Copy for Shutdown
[src]
impl Debug for Shutdown
[src]
impl Eq for Shutdown
[src]
impl PartialEq<Shutdown> for Shutdown
[src]
pub fn eq(&self, other: &Shutdown) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
[src]
impl StructuralEq for Shutdown
[src]
impl StructuralPartialEq for Shutdown
[src]
Auto Trait Implementations
impl RefUnwindSafe for Shutdown
impl Send for Shutdown
impl Sync for Shutdown
impl Unpin for Shutdown
impl UnwindSafe for Shutdown
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,