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