pub struct TcbInfoApi { /* private fields */ }Implementations§
Source§impl TcbInfoApi
impl TcbInfoApi
pub fn new(base_url: Cow<'static, str>, api_version: PcsVersion) -> Self
Trait Implementations§
Source§impl<'inp> ProvisioningServiceApi<'inp> for TcbInfoApi
Implementation of Get TCB Info API (section 3.3 of reference).
impl<'inp> ProvisioningServiceApi<'inp> for TcbInfoApi
Implementation of Get TCB Info API (section 3.3 of reference).
type Input = TcbInfoIn<'inp>
type Output = TcbInfo
fn build_request( &self, input: &Self::Input, ) -> Result<(String, Vec<(String, String)>), Error>
fn validate_response(&self, status_code: StatusCode) -> Result<(), Error>
fn parse_response( &self, response_body: String, response_headers: Vec<(String, String)>, api_version: PcsVersion, ) -> Result<Self::Output, Error>
Source§impl<'inp> TcbInfoService<'inp> for TcbInfoApi
impl<'inp> TcbInfoService<'inp> for TcbInfoApi
fn build_input( &'inp self, fmspc: &'inp Fmspc, tcb_evaluation_data_number: Option<u16>, ) -> <Self as ProvisioningServiceApi<'inp>>::Input
Auto Trait Implementations§
impl Freeze for TcbInfoApi
impl RefUnwindSafe for TcbInfoApi
impl Send for TcbInfoApi
impl Sync for TcbInfoApi
impl Unpin for TcbInfoApi
impl UnwindSafe for TcbInfoApi
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more