#[repr(C)]
pub enum Shutdown {
Read,
Write,
}
Expand description
The stream’s side to shutdown.
This should be used when calling stream_shutdown()
.
Variants§
Trait Implementations§
source§impl PartialEq<Shutdown> for Shutdown
impl PartialEq<Shutdown> for Shutdown
impl Eq for Shutdown
impl StructuralEq for Shutdown
impl StructuralPartialEq for Shutdown
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§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.