pub struct PipeInterface { /* private fields */ }
Expand description
Data structure to represent the Named Pipe Interface
.
Implementations§
Source§impl PipeInterface
impl PipeInterface
Sourcepub fn new(
path: &str,
group_read: bool,
group_write: bool,
other_read: bool,
other_write: bool,
) -> Self
pub fn new( path: &str, group_read: bool, group_write: bool, other_read: bool, other_write: bool, ) -> Self
Create a new PipeInterface
.
Sourcepub fn group_read(&self) -> bool
pub fn group_read(&self) -> bool
Group read permission set.
Sourcepub fn group_write(&self) -> bool
pub fn group_write(&self) -> bool
Group write permission set.
Sourcepub fn other_read(&self) -> bool
pub fn other_read(&self) -> bool
Other read permission set.
Sourcepub fn other_write(&self) -> bool
pub fn other_write(&self) -> bool
Other write permission set.
Trait Implementations§
Source§impl Clone for PipeInterface
impl Clone for PipeInterface
Source§fn clone(&self) -> PipeInterface
fn clone(&self) -> PipeInterface
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PipeInterface
impl Debug for PipeInterface
Source§impl Interface for PipeInterface
impl Interface for PipeInterface
Auto Trait Implementations§
impl Freeze for PipeInterface
impl RefUnwindSafe for PipeInterface
impl Send for PipeInterface
impl Sync for PipeInterface
impl Unpin for PipeInterface
impl UnwindSafe for PipeInterface
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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