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