Skip to main content

Export

Trait Export 

Source
pub trait Export<const IS_HUMAN_READABLE: bool> {
    // Required method
    fn export<W: Write>(&self, writer: &mut W) -> Result<()>;
}

Required Methods§

Source

fn export<W: Write>(&self, writer: &mut W) -> Result<()>

Export to a writer.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Export<true> for &[u8]

Source§

fn export<W: Write>(&self, writer: &mut W) -> Result<()>

Source§

impl Export<true> for Vec<u8>

Source§

fn export<W: Write>(&self, writer: &mut W) -> Result<()>

Implementors§