Trait WritableFile

Source
pub trait WritableFile:
    WritableFileAppend
    + WritableFileClose
    + WritableFileFlush
    + WritableFileSync
    + GetName { }
Expand description

| A file abstraction for sequential writing. The | implementation must provide buffering since | callers may append small fragments at a time to | the file.

Trait Implementations§

Source§

impl From<Rc<RefCell<dyn WritableFile>>> for Box<dyn WritableFile>

Source§

fn from(dest: Rc<RefCell<dyn WritableFile>>) -> Self

| Create a writer that will append data to | “*dest”. | | “*dest” must be initially empty. | | “*dest” must remain live while this LogWriter is | in use.

Implementors§