[go: up one dir, main page]

ToraWrite

Trait ToraWrite 

Source
pub trait ToraWrite {
    // Required method
    fn writes<S>(&mut self, s: &S) -> Result<()>
       where S: SerializeIo;
}
Expand description

An extension to the standard Write trait.

Required Methods§

Source

fn writes<S>(&mut self, s: &S) -> Result<()>
where S: SerializeIo,

Serialize and write the given data.

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.

Implementors§

Source§

impl<W> ToraWrite for W
where W: Write,