Struct StdoutRaw

pub(in ::io::stdio) struct StdoutRaw(pub(in ::io::stdio) Stdout);

A handle to a raw instance of the standard output stream of this process.

This handle is not synchronized or buffered in any fashion. Constructed via the std::io::stdio::stdout_raw function.

Fields

0: Stdout

Trait Implementations

impl Write for StdoutRaw

fn write(&mut self, buf: &[u8]) -> Result<usize>
fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize>
fn is_write_vectored(&self) -> bool
fn flush(&mut self) -> Result<()>
fn write_all(&mut self, buf: &[u8]) -> Result<()>
fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<()>
fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<()>

Auto Trait Implementations

impl Freeze for StdoutRaw

impl RefUnwindSafe for StdoutRaw

impl Send for StdoutRaw

impl Sync for StdoutRaw

impl Unpin for StdoutRaw

impl UnsafeUnpin for StdoutRaw

impl UnwindSafe for StdoutRaw

Blanket Implementations

impl<T> Any for StdoutRaw where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for StdoutRaw where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for StdoutRaw where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for StdoutRaw

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SizeHint for StdoutRaw where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for StdoutRaw

impl<T, U> Into<U> for StdoutRaw where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for StdoutRaw where U: Into<T>,

type Error = Infallible;
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto<U> for StdoutRaw where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>