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