pub trait SyncFolderSource: Debug {
// Required method
fn get_file_content(
&self,
file_name: &Path,
) -> Result<(Vec<u8>, Option<String>), FetchError>;
}
Required Methods§
fn get_file_content( &self, file_name: &Path, ) -> Result<(Vec<u8>, Option<String>), FetchError>
Implementors§
impl SyncFolderSource for DataSource
impl SyncFolderSource for TarFile
Available on crate feature
tar
only.