Enum PipeEnd
#[non_exhaustive]pub enum PipeEnd {
Client,
Server,
}
Available on Windows and crate feature
net only.Indicates the end of a named pipe.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Client
The named pipe refers to the client end of a named pipe instance.
Corresponds to PIPE_CLIENT_END.
Server
The named pipe refers to the server end of a named pipe instance.
Corresponds to PIPE_SERVER_END.
Trait Implementations
impl Copy for PipeEnd
impl Eq for PipeEnd
impl StructuralPartialEq for PipeEnd
Auto Trait Implementations
impl Freeze for PipeEnd
impl RefUnwindSafe for PipeEnd
impl Send for PipeEnd
impl Sync for PipeEnd
impl Unpin for PipeEnd
impl UnsafeUnpin for PipeEnd
impl UnwindSafe for PipeEnd
Blanket Implementations
impl<T> BorrowMut<T> for Twhere T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> CloneToUninit for Twhere T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)
impl<T> Instrument for T
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> WithSubscriber for T
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
MIT License
Copyright © Tokio Contributors
https://docs.rs/tokio/1.53.1/tokio/net/windows/named_pipe/enum.PipeEnd.html