Struct compio_driver::op::ConnectNamedPipe
source · pub struct ConnectNamedPipe { /* private fields */ }Available on Windows only.
Expand description
Connect a named pipe server.
Implementations§
source§impl ConnectNamedPipe
impl ConnectNamedPipe
sourcepub fn new(fd: RawFd) -> Self
pub fn new(fd: RawFd) -> Self
Create ConnectNamedPipe.
Trait Implementations§
source§impl OpCode for ConnectNamedPipe
impl OpCode for ConnectNamedPipe
source§unsafe fn operate(
self: Pin<&mut Self>,
optr: *mut OVERLAPPED
) -> Poll<Result<usize>>
unsafe fn operate( self: Pin<&mut Self>, optr: *mut OVERLAPPED ) -> Poll<Result<usize>>
Perform Windows API call with given pointer to overlapped struct. Read more
source§unsafe fn cancel(self: Pin<&mut Self>, optr: *mut OVERLAPPED) -> Result<()>
unsafe fn cancel(self: Pin<&mut Self>, optr: *mut OVERLAPPED) -> Result<()>
Cancel the async IO operation. Read more
source§fn is_overlapped(&self) -> bool
fn is_overlapped(&self) -> bool
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 RefUnwindSafe for ConnectNamedPipe
impl !Send for ConnectNamedPipe
impl !Sync for ConnectNamedPipe
impl Unpin for ConnectNamedPipe
impl UnwindSafe for ConnectNamedPipe
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