Trait koto_runtime::prelude::KotoFile
source · pub trait KotoFile: KotoRead + KotoWrite + KotoSend + KotoSync {
// Required method
fn id(&self) -> KString;
// Provided methods
fn path(&self) -> Result<KString> { ... }
fn seek(&self, _position: u64) -> Result<()> { ... }
}
Expand description
A trait used for file-like-things in Koto