Struct anni_provider::fs::LocalFileSystemProvider
source · pub struct LocalFileSystemProvider;Trait Implementations§
source§impl FileSystemProvider for LocalFileSystemProvider
impl FileSystemProvider for LocalFileSystemProvider
source§fn children<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf
) -> Pin<Box<dyn Future<Output = Result<Pin<Box<dyn Stream<Item = FileEntry> + Send>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn children<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf
) -> Pin<Box<dyn Future<Output = Result<Pin<Box<dyn Stream<Item = FileEntry> + Send>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
List sub folders
source§fn get_file_entry_by_prefix<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
parent: &'life1 PathBuf,
prefix: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<FileEntry>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_file_entry_by_prefix<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
parent: &'life1 PathBuf,
prefix: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<FileEntry>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Get file entry in a folder with given prefix
source§fn get_file<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
range: Range
) -> Pin<Box<dyn Future<Output = Result<ResourceReader>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_file<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
range: Range
) -> Pin<Box<dyn Future<Output = Result<ResourceReader>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get file reader
source§fn get_audio_info<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf
) -> Pin<Box<dyn Future<Output = Result<(String, usize)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_audio_info<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf
) -> Pin<Box<dyn Future<Output = Result<(String, usize)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get audio info: (extension ,size)
source§fn reload<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn reload<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Reload
fn get_audio_file<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 PathBuf,
range: Range
) -> Pin<Box<dyn Future<Output = Result<AudioResourceReader>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for LocalFileSystemProvider
impl Send for LocalFileSystemProvider
impl Sync for LocalFileSystemProvider
impl Unpin for LocalFileSystemProvider
impl UnwindSafe for LocalFileSystemProvider
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more