pub struct PipeServerEndpoint { /* private fields */ }Expand description
Server-side named pipe endpoint handle.
Implementations§
Source§impl PipeServerEndpoint
impl PipeServerEndpoint
Sourcepub fn raw_handle(&self) -> HANDLE
pub fn raw_handle(&self) -> HANDLE
Return underlying Win32 handle.
Sourcepub fn open_mode(&self) -> NamedPipeOpenMode
pub fn open_mode(&self) -> NamedPipeOpenMode
Return open direction.
Sourcepub fn pipe_type(&self) -> NamedPipeType
pub fn pipe_type(&self) -> NamedPipeType
Return byte/message behavior.
Sourcepub fn set_close_on_drop(&mut self, close_on_drop: bool)
pub fn set_close_on_drop(&mut self, close_on_drop: bool)
Configure whether this handle should be closed on drop.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PipeServerEndpoint
impl RefUnwindSafe for PipeServerEndpoint
impl Send for PipeServerEndpoint
impl Sync for PipeServerEndpoint
impl Unpin for PipeServerEndpoint
impl UnsafeUnpin for PipeServerEndpoint
impl UnwindSafe for PipeServerEndpoint
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