pub unsafe fn load<S>(name: S) -> Result<OptionalContainer<Api, Optional>, Error>
    where
        S: AsRef<OsStr>,
    {
        let lib = Library::open(name)?;
        let api = Api::load(&lib)?;
        let optional = Optional::load(&lib).ok();
        Ok(Self { lib, api, optional })
    }
///Opens the library using provided file name or path and loads all symbols (including optional
///if it is possible).
Opens the library using provided file name or path and loads all symbols (including optional
if it is possible).
Opens the library using provided file name or path and loads all symbols ( including optional if it is possible ) .
pub unsafe fn load<S>(name: S) -> Result<OptionalContainer<Api, Optional>, Error>
    where
        S: AsRef<OsStr>,
    {
        let lib = Library::open(name)?;
        let api = Api::load(&lib)?;
        let optional = Optional::load(&lib).ok();
        Ok(Self { lib, api, optional })
    }
pub unsafe fn load < S > ( name : S ) -> Result < OptionalContainer < Api , Optional > , Error > where S : AsRef < OsStr > , { let lib = Library :: open ( name ) ? ; let api = Api :: load ( & lib ) ? ; let optional = Optional :: load ( & lib ) . ok ( ) ; Ok ( Self { lib , api , optional } ) }
Opens the library using provided file name or path and loads all symbols (including optional
if it is possible).
Opens the library using provided file name or path and loads all symbols ( including optional if it is possible ) .
name
S