#[repr(u32)]pub enum OpenAnonKind {
Pipe = 0,
SocketConnect = 1,
SocketBind = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for OpenAnonKind
impl Clone for OpenAnonKind
Source§fn clone(&self) -> OpenAnonKind
fn clone(&self) -> OpenAnonKind
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 OpenAnonKind
impl Debug for OpenAnonKind
Source§impl From<OpenAnonKind> for u32
impl From<OpenAnonKind> for u32
Source§fn from(val: OpenAnonKind) -> u32
fn from(val: OpenAnonKind) -> u32
Converts to this type from the input type.
Source§impl Ord for OpenAnonKind
impl Ord for OpenAnonKind
Source§fn cmp(&self, other: &OpenAnonKind) -> Ordering
fn cmp(&self, other: &OpenAnonKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OpenAnonKind
impl PartialEq for OpenAnonKind
Source§impl PartialOrd for OpenAnonKind
impl PartialOrd for OpenAnonKind
Source§impl TryFrom<u32> for OpenAnonKind
impl TryFrom<u32> for OpenAnonKind
impl Copy for OpenAnonKind
impl Eq for OpenAnonKind
impl StructuralPartialEq for OpenAnonKind
Auto Trait Implementations§
impl Freeze for OpenAnonKind
impl RefUnwindSafe for OpenAnonKind
impl Send for OpenAnonKind
impl Sync for OpenAnonKind
impl Unpin for OpenAnonKind
impl UnwindSafe for OpenAnonKind
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