pub fn target_info() -> Result<Targetinfo, Quote3Error> {
    unsafe {
        let mut targetinfo = Targetinfo::default();
        err_code_to_result(get_target_info(&mut targetinfo))?;
        Ok(targetinfo)
    }
}
/// Obtain the `Targetinfo` for the Quoting Enclave.
///
/// Use this `Targetinfo` when calling `EREPORT` in your enclave to generate
/// the report that will be passed into `quote()`.
Obtain the `Targetinfo` for the Quoting Enclave.
Obtain the ` Targetinfo ` for the Quoting Enclave .
pub fn target_info() -> Result<Targetinfo, Quote3Error> {
    unsafe {
        let mut targetinfo = Targetinfo::default();
        err_code_to_result(get_target_info(&mut targetinfo))?;
        Ok(targetinfo)
    }
}
pub fn target_info ( ) -> Result < Targetinfo , Quote3Error > { unsafe { let mut targetinfo = Targetinfo :: default ( ) ; err_code_to_result ( get_target_info ( & mut targetinfo ) ) ? ; Ok ( targetinfo ) } }
Obtain the `Targetinfo` for the Quoting Enclave.
Obtain the ` Targetinfo ` for the Quoting Enclave .