Trait koto_runtime::KotoWrite
source · pub trait KotoWrite {
// Provided methods
fn write(&self, _bytes: &[u8]) -> Result<()> { ... }
fn write_line(&self, _text: &str) -> Result<()> { ... }
fn flush(&self) -> Result<()> { ... }
}
Expand description
A trait that defines the write operations of a KotoFile
Provided Methods§
sourcefn write_line(&self, _text: &str) -> Result<()>
fn write_line(&self, _text: &str) -> Result<()>
Writes text to the file, and appends a newline