pub fn enclave_loader() -> Result<EnclaveCommonLibrary, Error> {
    #[cfg(not(feature = "link"))]
    dl::load().map_err(failure::err_msg)?;
    // NB. libsgx_dcap_ql.so.1 transitively links to libsgx_enclave_common.so.1
    // so we should be able to find it already loaded.
    // We can't use the library from `mod dl` if `not(feature = "link")`,
    // because that is not the right library.
    Ok(EnclaveCommonLibrary::load(Some(Dl::this().into()))?.build())
}
/// Get the enclave loader that is available due to linking with the DCAP
/// Quoting Library.
///
/// Since DCAP is being used, assume that no EINITTOKEN provider is necessary.
Get the enclave loader that is available due to linking with the DCAP
Quoting Library.

Since DCAP is being used, assume that no EINITTOKEN provider is necessary.
Get the enclave loader that is available due to linking with the DCAP Quoting Library . Since DCAP is being used assume that no EINITTOKEN provider is necessary .
pub fn enclave_loader() -> Result<EnclaveCommonLibrary, Error> {
    #[cfg(not(feature = "link"))]
    dl::load().map_err(failure::err_msg)?;
    // NB. libsgx_dcap_ql.so.1 transitively links to libsgx_enclave_common.so.1
    // so we should be able to find it already loaded.
    // We can't use the library from `mod dl` if `not(feature = "link")`,
    // because that is not the right library.
    Ok(EnclaveCommonLibrary::load(Some(Dl::this().into()))?.build())
}
pub fn enclave_loader ( ) -> Result < EnclaveCommonLibrary , Error > { # [ cfg ( not ( feature " " ) ) ] dl :: load ( ) . map_err ( failure :: err_msg ) ? ; // NB. libsgx_dcap_ql.so.1 transitively links to libsgx_enclave_common.so.1 // so we should be able to find it already loaded. // We can't use the library from `mod dl` if `not(feature = "link")`, // because that is not the right library. Ok ( EnclaveCommonLibrary :: load ( Some ( Dl :: this ( ) . into ( ) ) ) ? . build ( ) ) }
Get the enclave loader that is available due to linking with the DCAP
Quoting Library.
Get the enclave loader that is available due to linking with the DCAP Quoting Library .