[][src]Trait chicon::File

pub trait File: Read + Write {
    type FSError;
    fn sync_all(&mut self) -> Result<(), Self::FSError>;
}

Trait that represent a file inside our FileSystem. Associated type File in our FileSystem trait must implement this trait.

Associated Types

type FSError

Loading content...

Required methods

fn sync_all(&mut self) -> Result<(), Self::FSError>

Loading content...

Implementors

impl File for OsFile[src]

type FSError = Error

impl File for S3File[src]

type FSError = ChiconError

impl<'a> File for SFTPFile<'a>[src]

type FSError = ChiconError

impl<'a> File for SSHFile<'a>[src]

type FSError = ChiconError

Loading content...