Skip to main content

SaveTo

Trait SaveTo 

Source
pub trait SaveTo {
    // Required method
    fn save_to<P>(&self, output_dir: P) -> Result<(), Error>
       where P: AsRef<Path>;
}

Required Methods§

Source

fn save_to<P>(&self, output_dir: P) -> Result<(), Error>
where P: AsRef<Path>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl SaveTo for Vec<Contract>

Source§

fn save_to<P>(&self, output_dir: P) -> Result<(), Error>
where P: AsRef<Path>,

Implementors§