pub(super) struct SocketStatus {
pub activity_event: Event,
pub closed: AtomicBool,
pub closed_event: Event,
}Expand description
Socket-related state shared between super::ConnectionInner and the socket reader task.
Fields§
§activity_event: Event§closed: AtomicBool§closed_event: EventTrait Implementations§
Auto Trait Implementations§
impl !Freeze for SocketStatus
impl RefUnwindSafe for SocketStatus
impl Send for SocketStatus
impl Sync for SocketStatus
impl Unpin for SocketStatus
impl UnsafeUnpin for SocketStatus
impl UnwindSafe for SocketStatus
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