Struct windows::Networking::Sockets::SocketActivityTriggerReason
#[repr(transparent)]pub struct SocketActivityTriggerReason(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl SocketActivityTriggerReason
impl SocketActivityTriggerReason
pub const None: Self = _
pub const SocketActivity: Self = _
pub const ConnectionAccepted: Self = _
pub const KeepAliveTimerExpired: Self = _
pub const SocketClosed: Self = _
Trait Implementations§
§impl Clone for SocketActivityTriggerReason
impl Clone for SocketActivityTriggerReason
§fn clone(&self) -> SocketActivityTriggerReason
fn clone(&self) -> SocketActivityTriggerReason
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 SocketActivityTriggerReason
impl Debug for SocketActivityTriggerReason
§impl Default for SocketActivityTriggerReason
impl Default for SocketActivityTriggerReason
§fn default() -> SocketActivityTriggerReason
fn default() -> SocketActivityTriggerReason
Returns the “default value” for a type. Read more
§impl PartialEq for SocketActivityTriggerReason
impl PartialEq for SocketActivityTriggerReason
§fn eq(&self, other: &SocketActivityTriggerReason) -> bool
fn eq(&self, other: &SocketActivityTriggerReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SocketActivityTriggerReason
impl Eq for SocketActivityTriggerReason
impl StructuralPartialEq for SocketActivityTriggerReason
Auto Trait Implementations§
impl RefUnwindSafe for SocketActivityTriggerReason
impl Send for SocketActivityTriggerReason
impl Sync for SocketActivityTriggerReason
impl Unpin for SocketActivityTriggerReason
impl UnwindSafe for SocketActivityTriggerReason
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