pub struct AnonymousPipe { /* private fields */ }Expand description
Anonymous pipe pair for parent-child process communication
Implementations§
Source§impl AnonymousPipe
impl AnonymousPipe
Sourcepub fn split(self) -> (PipeReader, PipeWriter)
pub fn split(self) -> (PipeReader, PipeWriter)
Split into reader and writer
Sourcepub fn reader(&self) -> &PipeReader ⓘ
pub fn reader(&self) -> &PipeReader ⓘ
Get a reference to the reader
Sourcepub fn writer(&self) -> &PipeWriter ⓘ
pub fn writer(&self) -> &PipeWriter ⓘ
Get a reference to the writer
Sourcepub fn reader_mut(&mut self) -> &mut PipeReader ⓘ
pub fn reader_mut(&mut self) -> &mut PipeReader ⓘ
Get a mutable reference to the reader
Sourcepub fn writer_mut(&mut self) -> &mut PipeWriter ⓘ
pub fn writer_mut(&mut self) -> &mut PipeWriter ⓘ
Get a mutable reference to the writer
Auto Trait Implementations§
impl Freeze for AnonymousPipe
impl RefUnwindSafe for AnonymousPipe
impl Send for AnonymousPipe
impl Sync for AnonymousPipe
impl Unpin for AnonymousPipe
impl UnwindSafe for AnonymousPipe
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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> 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> IntoMetered for T
impl<T> IntoMetered for T
Source§fn metered(self, metrics: Arc<ChannelMetrics>) -> MeteredSender<Self>
fn metered(self, metrics: Arc<ChannelMetrics>) -> MeteredSender<Self>
Wrap this sender with metrics tracking.
Source§impl<T> WithMetrics for T
impl<T> WithMetrics for T
Source§fn with_metrics(self) -> MeteredWrapper<Self>
fn with_metrics(self) -> MeteredWrapper<Self>
Wrap this channel with metrics tracking.