Skip to main content

FsWrite

Trait FsWrite 

Source
pub trait FsWrite: BaseFsWrite {
    // Provided method
    fn fs_write(
        &self,
        path: impl AsRef<Path>,
        data: impl AsRef<[u8]>,
    ) -> Result<()> { ... }
}

Provided Methods§

Source

fn fs_write(&self, path: impl AsRef<Path>, data: impl AsRef<[u8]>) -> 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.

Implementors§