SyncFolderSource

Trait SyncFolderSource 

Source
pub trait SyncFolderSource: Debug {
    // Required method
    fn get_file_content(
        &self,
        file_name: &Path,
    ) -> Result<(Vec<u8>, Option<String>), FetchError>;
}

Required Methods§

Source

fn get_file_content( &self, file_name: &Path, ) -> Result<(Vec<u8>, Option<String>), FetchError>

Implementors§

Source§

impl SyncFolderSource for DataSource

Source§

impl SyncFolderSource for TarFile

Available on crate feature tar only.