Struct SocketActivityKind
#[repr(transparent)]pub struct SocketActivityKind(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl SocketActivityKind
impl SocketActivityKind
pub const None: Self = _
pub const StreamSocketListener: Self = _
pub const DatagramSocket: Self = _
pub const StreamSocket: Self = _
Trait Implementations§
§impl Clone for SocketActivityKind
impl Clone for SocketActivityKind
§fn clone(&self) -> SocketActivityKind
fn clone(&self) -> SocketActivityKind
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 more§impl Debug for SocketActivityKind
impl Debug for SocketActivityKind
§impl Default for SocketActivityKind
impl Default for SocketActivityKind
§fn default() -> SocketActivityKind
fn default() -> SocketActivityKind
Returns the “default value” for a type. Read more
§impl PartialEq for SocketActivityKind
impl PartialEq for SocketActivityKind
impl Copy for SocketActivityKind
impl Eq for SocketActivityKind
impl StructuralPartialEq for SocketActivityKind
Auto Trait Implementations§
impl Freeze for SocketActivityKind
impl RefUnwindSafe for SocketActivityKind
impl Send for SocketActivityKind
impl Sync for SocketActivityKind
impl Unpin for SocketActivityKind
impl UnwindSafe for SocketActivityKind
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