pub trait OpenOptions: Into<FileOptions> {
// Required methods
fn open<P: AsRef<Path>>(&self, path: P) -> Result<File<Cache>, ApiError>;
fn open_using<Api: Api, P: AsRef<Path>>(
&self,
api: Api,
path: P,
) -> Result<File<Api>, ApiError>;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.