pub struct PersistentOutputObserver { /* private fields */ }Expand description
Byte observers for persistent process output.
Callbacks run on stdout/stderr reader threads with arbitrary chunk boundaries. Keep them fast and non-blocking; offload synchronous I/O or heavier processing to another worker to avoid stalling the reader thread and backing up the child process pipe.
Implementations§
Source§impl PersistentOutputObserver
impl PersistentOutputObserver
Trait Implementations§
Source§impl Clone for PersistentOutputObserver
impl Clone for PersistentOutputObserver
Source§fn clone(&self) -> PersistentOutputObserver
fn clone(&self) -> PersistentOutputObserver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PersistentOutputObserver
impl Debug for PersistentOutputObserver
Source§impl Default for PersistentOutputObserver
impl Default for PersistentOutputObserver
Source§fn default() -> PersistentOutputObserver
fn default() -> PersistentOutputObserver
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for PersistentOutputObserver
impl !UnwindSafe for PersistentOutputObserver
impl Freeze for PersistentOutputObserver
impl Send for PersistentOutputObserver
impl Sync for PersistentOutputObserver
impl Unpin for PersistentOutputObserver
impl UnsafeUnpin for PersistentOutputObserver
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