pub struct TpmEncryptDecryptResponse {
pub handles: [TpmHandle; 0],
pub out_data: Tpm2bMaxBuffer,
pub iv_out: Tpm2bIv,
}Fields§
§handles: [TpmHandle; 0]§out_data: Tpm2bMaxBuffer§iv_out: Tpm2bIvImplementations§
Source§impl TpmEncryptDecryptResponse
impl TpmEncryptDecryptResponse
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 TpmEncryptDecryptResponse
impl Clone for TpmEncryptDecryptResponse
Source§fn clone(&self) -> TpmEncryptDecryptResponse
fn clone(&self) -> TpmEncryptDecryptResponse
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 TpmEncryptDecryptResponse
impl Debug for TpmEncryptDecryptResponse
Source§impl PartialEq for TpmEncryptDecryptResponse
impl PartialEq for TpmEncryptDecryptResponse
Source§fn eq(&self, other: &TpmEncryptDecryptResponse) -> bool
fn eq(&self, other: &TpmEncryptDecryptResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmEncryptDecryptResponse
impl TpmFrame for TpmEncryptDecryptResponse
Source§impl TpmSized for TpmEncryptDecryptResponse
impl TpmSized for TpmEncryptDecryptResponse
impl Eq for TpmEncryptDecryptResponse
impl StructuralPartialEq for TpmEncryptDecryptResponse
Auto Trait Implementations§
impl Freeze for TpmEncryptDecryptResponse
impl RefUnwindSafe for TpmEncryptDecryptResponse
impl Send for TpmEncryptDecryptResponse
impl Sync for TpmEncryptDecryptResponse
impl Unpin for TpmEncryptDecryptResponse
impl UnsafeUnpin for TpmEncryptDecryptResponse
impl UnwindSafe for TpmEncryptDecryptResponse
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