pub struct TpmStartAuthSessionResponse {
pub handles: [TpmHandle; 1],
pub nonce_tpm: Tpm2bNonce,
}Fields§
§handles: [TpmHandle; 1]§nonce_tpm: Tpm2bNonceImplementations§
Source§impl TpmStartAuthSessionResponse
impl TpmStartAuthSessionResponse
Sourcepub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmResponse>
pub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmResponse>
Casts a response frame into a typed wire view for this response.
§Errors
Returns Err(TpmProtocolError) when the frame envelope is malformed.
Sourcepub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmResponse>
pub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmResponse>
Casts a mutable response frame into a typed mutable wire view for this response.
§Errors
Returns Err(TpmProtocolError) when the frame envelope is malformed.
Trait Implementations§
Source§impl Clone for TpmStartAuthSessionResponse
impl Clone for TpmStartAuthSessionResponse
Source§fn clone(&self) -> TpmStartAuthSessionResponse
fn clone(&self) -> TpmStartAuthSessionResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TpmStartAuthSessionResponse
impl Debug for TpmStartAuthSessionResponse
Source§impl Default for TpmStartAuthSessionResponse
impl Default for TpmStartAuthSessionResponse
Source§fn default() -> TpmStartAuthSessionResponse
fn default() -> TpmStartAuthSessionResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for TpmStartAuthSessionResponse
impl PartialEq for TpmStartAuthSessionResponse
Source§fn eq(&self, other: &TpmStartAuthSessionResponse) -> bool
fn eq(&self, other: &TpmStartAuthSessionResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmSized for TpmStartAuthSessionResponse
impl TpmSized for TpmStartAuthSessionResponse
impl Eq for TpmStartAuthSessionResponse
impl StructuralPartialEq for TpmStartAuthSessionResponse
Auto Trait Implementations§
impl Freeze for TpmStartAuthSessionResponse
impl RefUnwindSafe for TpmStartAuthSessionResponse
impl Send for TpmStartAuthSessionResponse
impl Sync for TpmStartAuthSessionResponse
impl Unpin for TpmStartAuthSessionResponse
impl UnsafeUnpin for TpmStartAuthSessionResponse
impl UnwindSafe for TpmStartAuthSessionResponse
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