pub struct StderrStream { /* private fields */ }Expand description
Cloneable handle to the kernel’s stderr output stream.
Multiple pipeline stages can write concurrently. The receiver side is drained by the kernel after each statement (or by a background task).
Uses UnboundedSender which is Clone + Send + Sync — safe across
tokio::spawn boundaries without Arc<Mutex<..>>.
Implementations§
Trait Implementations§
Source§impl Clone for StderrStream
impl Clone for StderrStream
Source§fn clone(&self) -> StderrStream
fn clone(&self) -> StderrStream
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 moreAuto Trait Implementations§
impl Freeze for StderrStream
impl RefUnwindSafe for StderrStream
impl Send for StderrStream
impl Sync for StderrStream
impl Unpin for StderrStream
impl UnsafeUnpin for StderrStream
impl UnwindSafe for StderrStream
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