Trait SaveToDisk

Source
pub trait SaveToDisk {
    type Error;

    // Required method
    fn save_to_disk<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}

Required Associated Types§

Required Methods§

Source

fn save_to_disk<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Implementations on Foreign Types§

Source§

impl SaveToDisk for MockCargoToml

Source§

type Error = CargoTomlError

Source§

fn save_to_disk<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), <MockCargoToml as SaveToDisk>::Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, MockCargoToml: 'async_trait,

Implementors§