Serializable

Trait Serializable 

Source
pub trait Serializable {
    // Required method
    fn dump<W: Write>(&self, fp: W) -> Result<()>;
}

Required Methods§

Source

fn dump<W: Write>(&self, fp: W) -> Result<()>

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 Serializable for Option<Bed3>

Source§

fn dump<W: Write>(&self, fp: W) -> Result<()>

Source§

impl<'a> Serializable for Option<Bed4<'a>>

Source§

fn dump<W: Write>(&self, fp: W) -> Result<()>

Source§

impl<'a, T: Display> Serializable for Option<Bed5<'a, T>>

Source§

fn dump<W: Write>(&self, fp: W) -> Result<()>

Source§

impl<'a, T: Display> Serializable for Option<Bed6<'a, T>>

Source§

fn dump<W: Write>(&self, fp: W) -> Result<()>

Source§

impl<A: Serializable, B: Serializable> Serializable for (A, B)

Source§

fn dump<W: Write>(&self, fp: W) -> Result<()>

Implementors§