pub struct TcbData<V: VerificationType = Verified> { /* private fields */ }
Implementations§
Source§impl TcbData<Unverified>
impl TcbData<Unverified>
Sourcepub fn tcb_component_index(&self, comp: TcbComponent) -> Option<usize>
pub fn tcb_component_index(&self, comp: TcbComponent) -> Option<usize>
Returns the index of the TCB component
Source§impl<V: VerificationType> TcbData<V>
impl<V: VerificationType> TcbData<V>
pub fn tcb_evaluation_data_number(&self) -> u64
pub fn iter_tcb_components( &self, ) -> impl Iterator<Item = (CpuSvn, PceIsvsvn)> + '_
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TcbData<Unverified>
impl<'de> Deserialize<'de> for TcbData<Unverified>
Source§fn deserialize<D>(deserializer: D) -> Result<TcbData<Unverified>, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<TcbData<Unverified>, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<V> Freeze for TcbData<V>
impl<V> RefUnwindSafe for TcbData<V>where
V: RefUnwindSafe,
impl<V> Send for TcbData<V>where
V: Send,
impl<V> Sync for TcbData<V>where
V: Sync,
impl<V> Unpin for TcbData<V>where
V: Unpin,
impl<V> UnwindSafe for TcbData<V>where
V: 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