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§