Trait seaplane_cli::fs::ToDisk

source ·
pub trait ToDisk: FromDisk {
    fn persist_if(&self, yes: bool) -> Result<()>
    where
        Self: Sized + Serialize
, { ... } fn persist(&self) -> Result<()>
    where
        Self: Sized + Serialize
, { ... } }

Provided Methods

Persist to path only if yes is true

Serializes itself to the given path

Implementors