Skip to main content

RawStream

Trait RawStream 

Source
pub trait RawStream:
    Write
    + IsTerminal
    + Sealed { }
Expand description

Required functionality for underlying std::io::Write for adaptation

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl RawStream for File

Source§

impl RawStream for Stderr

Source§

impl RawStream for StderrLock<'_>

Source§

impl RawStream for Stdout

Source§

impl RawStream for StdoutLock<'_>

Source§

impl RawStream for Vec<u8>

Source§

impl RawStream for dyn Write

Source§

impl RawStream for dyn Write + Send

Source§

impl RawStream for dyn Write + Send + Sync

Source§

impl<T: RawStream + ?Sized> RawStream for &mut T

Source§

impl<T: RawStream + ?Sized> RawStream for Box<T>

Implementors§