pub unsafe fn load_self() -> Result<OptionalContainer<Api, Optional>, Error> {
        let lib = Library::open_self()?;
        let api = Api::load(&lib)?;
        let optional = Optional::load(&lib).ok();
        Ok(Self { lib, api, optional })
    }
///Load all symbols (including optional if it is possible) from the
///program itself.
///
/// This allows a shared library to load symbols of the program it was
/// loaded into.
Load all symbols (including optional if it is possible) from the
program itself.

This allows a shared library to load symbols of the program it was
loaded into.
Load all symbols ( including optional if it is possible ) from the program itself . This allows a shared library to load symbols of the program it was loaded into .
pub unsafe fn load_self() -> Result<OptionalContainer<Api, Optional>, Error> {
        let lib = Library::open_self()?;
        let api = Api::load(&lib)?;
        let optional = Optional::load(&lib).ok();
        Ok(Self { lib, api, optional })
    }
pub unsafe fn load_self ( ) -> Result < OptionalContainer < Api , Optional > , Error > { let lib = Library :: open_self ( ) ? ; let api = Api :: load ( & lib ) ? ; let optional = Optional :: load ( & lib ) . ok ( ) ; Ok ( Self { lib , api , optional } ) }
Load all symbols (including optional if it is possible) from the
program itself.
Load all symbols ( including optional if it is possible ) from the program itself .