Trait from_as::AsFile[][src]

pub trait AsFile {
    type Error: Error;
    fn as_file<P>(&self, path: P) -> Result<(), Self::Error>
    where
        P: AsRef<Path>,
        Self: Serialize
;
fn as_file_pretty<P>(&self, path: P) -> Result<(), Self::Error>
    where
        P: AsRef<Path>,
        Self: Serialize
; }

Associated Types

Required methods

Implementors