pub struct TcbInfoApi<T> { /* private fields */ }Implementations§
Source§impl<T: PlatformType> TcbInfoApi<T>
impl<T: PlatformType> TcbInfoApi<T>
pub fn new(api_version: PcsVersion) -> Self
Trait Implementations§
Source§impl<'inp, T: PlatformTypeForTcbInfo + PlatformApiTag> ProvisioningServiceApi<'inp> for TcbInfoApi<T>
impl<'inp, T: PlatformTypeForTcbInfo + PlatformApiTag> ProvisioningServiceApi<'inp> for TcbInfoApi<T>
type Input = TcbInfoIn<'inp>
type Output = TcbInfo<T>
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, T: PlatformTypeForTcbInfo + PlatformApiTag> TcbInfoService<'inp, T> for TcbInfoApi<T>
impl<'inp, T: PlatformTypeForTcbInfo + PlatformApiTag> TcbInfoService<'inp, T> for TcbInfoApi<T>
fn build_input( &'inp self, fmspc: &'inp Fmspc, tcb_evaluation_data_number: Option<u16>, ) -> <Self as ProvisioningServiceApi<'inp>>::Input
Auto Trait Implementations§
impl<T> Forget for TcbInfoApi<T>
impl<T> Freeze for TcbInfoApi<T>where
PhantomData<T>: Freeze,
impl<T> RefUnwindSafe for TcbInfoApi<T>where
PhantomData<T>: RefUnwindSafe,
impl<T> Send for TcbInfoApi<T>where
PhantomData<T>: Send,
impl<T> Sync for TcbInfoApi<T>where
PhantomData<T>: Sync,
impl<T> Unpin for TcbInfoApi<T>where
PhantomData<T>: Unpin,
impl<T> UnsafeUnpin for TcbInfoApi<T>where
PhantomData<T>: UnsafeUnpin,
impl<T> UnwindSafe for TcbInfoApi<T>where
PhantomData<T>: UnwindSafe,
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