pub struct Output<'c> { /* private fields */ }Expand description
What a program writes, sent to the shell a message at a time.
Implements fmt::Write, so write! works. Bounded: one message is buffered and sent when full, so a
program can write any amount without holding it all.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'c> Freeze for Output<'c>
impl<'c> RefUnwindSafe for Output<'c>
impl<'c> Send for Output<'c>
impl<'c> Sync for Output<'c>
impl<'c> Unpin for Output<'c>
impl<'c> UnsafeUnpin for Output<'c>
impl<'c> UnwindSafe for Output<'c>
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