Enum twizzler_net::CloseInfo
source · #[repr(u8)]pub enum CloseInfo {
Rx,
Tx,
Both,
Reset,
}
Variants§
Trait Implementations§
source§impl Ord for CloseInfo
impl Ord for CloseInfo
source§impl PartialEq<CloseInfo> for CloseInfo
impl PartialEq<CloseInfo> for CloseInfo
source§impl PartialOrd<CloseInfo> for CloseInfo
impl PartialOrd<CloseInfo> for CloseInfo
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CloseInfo
impl Eq for CloseInfo
impl StructuralEq for CloseInfo
impl StructuralPartialEq for CloseInfo
Auto Trait Implementations§
impl ObjSafe for CloseInfo
impl RefUnwindSafe for CloseInfo
impl Send for CloseInfo
impl Sync for CloseInfo
impl Unpin for CloseInfo
impl UnwindSafe for CloseInfo
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.