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§

source

fn open<P: AsRef<Path>>(&self, path: P) -> Result<File<Cache>, ApiError>

Open file with this options.

source

fn open_using<Api: Api, P: AsRef<Path>>( &self, api: Api, path: P ) -> Result<File<Api>, ApiError>

Open file with this options, using given api.

Object Safety§

This trait is not object safe.

Implementors§