#[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
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
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more