Skip to main content

Output

Trait Output 

Source
pub trait Output {
    // Required method
    fn write(&mut self, data: &[u8]);

    // Provided methods
    fn is_mangling(&self) -> bool { ... }
    fn is_real(&self) -> bool { ... }
    fn as_write(&mut self) -> AsWrite<'_, Self>  { ... }
}

Required Methods§

Source

fn write(&mut self, data: &[u8])

Provided Methods§

Source

fn is_mangling(&self) -> bool

Source

fn is_real(&self) -> bool

Source

fn as_write(&mut self) -> AsWrite<'_, Self>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Output for Sha256

Source§

fn write(&mut self, data: &[u8])

Source§

impl Output for Vec<u8>

Source§

fn write(&mut self, data: &[u8])

Implementors§