Struct winsafe::HPIPE [−][src]
#[repr(C)]pub struct HPIPE { /* fields omitted */ }
Expand description
Handle to an
anonymous pipe.
Originally just a HANDLE
.
Implementations
Creates a new handle instance by wrapping a pointer.
This method is common to all handle types.
Consumes the handle returning the underlying raw pointer.
This method is common to all handle types.
Tells if the handle is invalid (null).
This method is common to all handle types.
CloseHandle
method.
pub fn CreatePipe(
attrs: Option<&mut SECURITY_ATTRIBUTES<'_>>,
size: u32
) -> WinResult<(HPIPE, HPIPE)>
pub fn CreatePipe(
attrs: Option<&mut SECURITY_ATTRIBUTES<'_>>,
size: u32
) -> WinResult<(HPIPE, HPIPE)>
CreatePipe
static method.
Returns handles to the read and write pipes.
Note: Must be paired with
HPIPE::CloseHandle
calls.
ReadFile
method.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more