pub trait FileReadDyn:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn file_read_dyn<'a>(
&'a self,
path: &'a str,
) -> BoxedFuture<'a, Result<Vec<u8>>>;
}Expand description
FileReadDyn is the dyn version of FileRead.
Required Methods§
Sourcefn file_read_dyn<'a>(
&'a self,
path: &'a str,
) -> BoxedFuture<'a, Result<Vec<u8>>>
fn file_read_dyn<'a>( &'a self, path: &'a str, ) -> BoxedFuture<'a, Result<Vec<u8>>>
Dyn version of FileRead::file_read.