pub struct PipeInfo {
pub mode: PipeMode,
pub end: PipeEnd,
pub max_instances: u32,
pub out_buffer_size: u32,
pub in_buffer_size: u32,
}Available on crate feature
fs and Windows only.Expand description
Information about a named pipe.
Constructed through NamedPipeServer::info or NamedPipeClient::info.
Fields§
§mode: PipeModeIndicates the mode of a named pipe.
end: PipeEndIndicates the end of a named pipe.
max_instances: u32The maximum number of instances that can be created for this pipe.
out_buffer_size: u32The number of bytes to reserve for the output buffer.
in_buffer_size: u32The number of bytes to reserve for the input buffer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PipeInfo
impl RefUnwindSafe for PipeInfo
impl Send for PipeInfo
impl Sync for PipeInfo
impl Unpin for PipeInfo
impl UnwindSafe for PipeInfo
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more