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§
fn close(&mut self) -> Result<(), Error>
fn sync_all(&self) -> Result<(), Error>
fn sync_data(&self) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".