Struct tss_esapi::structures::SessionAuditInfo
source · [−]pub struct SessionAuditInfo { /* private fields */ }Expand description
This type holds the attested data for TPM2_GetSessionAuditDigest()
Details
This corresponds to the TPMS_SESSION_AUDIT_INFO.
Implementations
sourceimpl SessionAuditInfo
impl SessionAuditInfo
sourcepub fn exlusive_session(&self) -> bool
pub fn exlusive_session(&self) -> bool
Returns true if if all of the commands recorded in the sessionDigest were executed without any intervening TPM command that did not use this audit session
sourcepub const fn session_digest(&self) -> &Digest
pub const fn session_digest(&self) -> &Digest
Returns the current value of the session audit diges
Trait Implementations
sourceimpl Clone for SessionAuditInfo
impl Clone for SessionAuditInfo
sourcefn clone(&self) -> SessionAuditInfo
fn clone(&self) -> SessionAuditInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SessionAuditInfo
impl Debug for SessionAuditInfo
sourceimpl From<SessionAuditInfo> for TPMS_SESSION_AUDIT_INFO
impl From<SessionAuditInfo> for TPMS_SESSION_AUDIT_INFO
sourcefn from(session_audit_info: SessionAuditInfo) -> Self
fn from(session_audit_info: SessionAuditInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for SessionAuditInfo
impl Send for SessionAuditInfo
impl Sync for SessionAuditInfo
impl Unpin for SessionAuditInfo
impl UnwindSafe for SessionAuditInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more