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 Freeze for LocalFileSystemProvider
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more