pub unsafe fn load<S>(name: S) -> Result<Container<T>, Error>
    where
        S: AsRef<OsStr>,
    {
        let lib = Library::open(name)?;
        let api = T::load(&lib)?;
        Ok(Self { lib: lib, api: api })
    }
///Open the library using provided file name or path and load all symbols.
Open the library using provided file name or path and load all symbols.
Open the library using provided file name or path and load all symbols .
pub unsafe fn load<S>(name: S) -> Result<Container<T>, Error>
    where
        S: AsRef<OsStr>,
    {
        let lib = Library::open(name)?;
        let api = T::load(&lib)?;
        Ok(Self { lib: lib, api: api })
    }
pub unsafe fn load < S > ( name : S ) -> Result < Container < T > , Error > where S : AsRef < OsStr > , { let lib = Library :: open ( name ) ? ; let api = T :: load ( & lib ) ? ; Ok ( Self { lib : lib , api : api } ) }
Open the library using provided file name or path and load all symbols.
Open the library using provided file name or path and load all symbols .
name
S