pub struct Stdout { /* private fields */ }Expand description
Use the program’s stdout as an AsyncOutputStream.
Implementations§
Source§impl Stdout
impl Stdout
Sourcepub fn is_terminal(&self) -> bool
pub fn is_terminal(&self) -> bool
Check if stdout is a terminal.
Sourcepub fn into_inner(self) -> AsyncOutputStream
pub fn into_inner(self) -> AsyncOutputStream
Get the AsyncOutputStream used to implement Stdout
Trait Implementations§
Source§impl AsyncWrite for Stdout
impl AsyncWrite for Stdout
Auto Trait Implementations§
impl !Freeze for Stdout
impl !RefUnwindSafe for Stdout
impl Send for Stdout
impl !Sync for Stdout
impl Unpin for Stdout
impl UnwindSafe for Stdout
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