pub struct CloseSocket { /* private fields */ }
Expand description
Close socket fd.
Implementations§
Source§impl CloseSocket
impl CloseSocket
Sourcepub fn new(fd: OwnedFd) -> Self
pub fn new(fd: OwnedFd) -> Self
Create CloseSocket
.
Trait Implementations§
Source§impl OpCode for CloseSocket
impl OpCode for CloseSocket
Source§fn op_type(&self) -> OpType
fn op_type(&self) -> OpType
Determines that the operation is really overlapped defined by Windows
API. If not, the driver will try to operate it in another thread.
Auto Trait Implementations§
impl Freeze for CloseSocket
impl RefUnwindSafe for CloseSocket
impl Send for CloseSocket
impl Sync for CloseSocket
impl Unpin for CloseSocket
impl UnwindSafe for CloseSocket
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