Struct compio_driver::op::CloseSocket
source · pub struct CloseSocket { /* private fields */ }
Expand description
Close socket fd.
Implementations§
source§impl CloseSocket
impl CloseSocket
sourcepub fn new(fd: RawFd) -> Self
pub fn new(fd: RawFd) -> Self
Create CloseSocket
.
Trait Implementations§
source§impl OpCode for CloseSocket
impl OpCode for CloseSocket
source§fn call_blocking(self: Pin<&mut Self>) -> Result<usize>
fn call_blocking(self: Pin<&mut Self>) -> Result<usize>
Call the operation in a blocking way. This method will only be called if
[
create_entry
] returns OpEntry::Blocking
.Auto Trait Implementations§
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