Skip to main content

WriteableTrait

Trait WriteableTrait 

Source
pub trait WriteableTrait: Write {
    // Required methods
    fn close(&mut self) -> Result<(), Error>;
    fn sync_all(&self) -> Result<(), Error>;
    fn sync_data(&self) -> Result<(), Error>;
}

Required Methods§

Source

fn close(&mut self) -> Result<(), Error>

Source

fn sync_all(&self) -> Result<(), Error>

Source

fn sync_data(&self) -> Result<(), Error>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§