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 + 'static>>> 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§