Trait FileReadDyn
pub trait FileReadDyn:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn file_read_dyn<'a>(
&'a self,
path: &'a str,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'a>>;
}Available on crate feature
reqsign only.Expand description
FileReadDyn is the dyn version of FileRead.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".