#[repr(transparent)]pub struct SocketActivityTriggerReason(pub i32);
Expand description
Required features: "Networking_Sockets"
Tuple Fields
0: i32
Implementations
impl SocketActivityTriggerReason
impl SocketActivityTriggerReason
pub const None: Self = Self(0i32)
pub const SocketActivity: Self = Self(1i32)
pub const ConnectionAccepted: Self = Self(2i32)
pub const KeepAliveTimerExpired: Self = Self(3i32)
pub const SocketClosed: Self = Self(4i32)
Trait Implementations
impl Clone for SocketActivityTriggerReason
impl Clone for SocketActivityTriggerReason
impl Copy 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more