[][src]Trait from_as_file::AsFile

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

Associated Types

Loading content...

Required methods

pub fn as_file<P: AsRef<Path>>(&self, path: P) -> Result<(), Self::Error> where
    Self: Serialize
[src]

pub fn as_file_pretty<P: AsRef<Path>>(&self, path: P) -> Result<(), Self::Error> where
    Self: Serialize
[src]

Loading content...

Implementors

Loading content...