pub struct TpmRewrapCommand {
pub handles: [TpmHandle; 2],
pub in_duplicate: Tpm2bPrivate,
pub name: Tpm2bName,
pub in_sym_seed: Tpm2bEncryptedSecret,
}Fields§
§handles: [TpmHandle; 2]§in_duplicate: Tpm2bPrivate§name: Tpm2bName§in_sym_seed: Tpm2bEncryptedSecretImplementations§
Source§impl TpmRewrapCommand
impl TpmRewrapCommand
Sourcepub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmCommand>
pub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmCommand>
Casts a command frame into a typed wire view for this command.
§Errors
Returns Err(TpmProtocolError) when the frame is malformed or
has a different command code.
Sourcepub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmCommand>
pub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmCommand>
Casts a mutable command frame into a typed mutable wire view for this command.
§Errors
Returns Err(TpmProtocolError) when the frame is malformed or
has a different command code.
Trait Implementations§
Source§impl Clone for TpmRewrapCommand
impl Clone for TpmRewrapCommand
Source§fn clone(&self) -> TpmRewrapCommand
fn clone(&self) -> TpmRewrapCommand
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 TpmRewrapCommand
impl Debug for TpmRewrapCommand
Source§impl PartialEq for TpmRewrapCommand
impl PartialEq for TpmRewrapCommand
Source§fn eq(&self, other: &TpmRewrapCommand) -> bool
fn eq(&self, other: &TpmRewrapCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmRewrapCommand
impl TpmFrame for TpmRewrapCommand
Source§impl TpmHeader for TpmRewrapCommand
impl TpmHeader for TpmRewrapCommand
Source§impl TpmMarshal for TpmRewrapCommand
impl TpmMarshal for TpmRewrapCommand
Source§impl TpmMarshalBody for TpmRewrapCommand
impl TpmMarshalBody for TpmRewrapCommand
Source§impl TpmSized for TpmRewrapCommand
impl TpmSized for TpmRewrapCommand
impl Eq for TpmRewrapCommand
impl StructuralPartialEq for TpmRewrapCommand
Auto Trait Implementations§
impl Freeze for TpmRewrapCommand
impl RefUnwindSafe for TpmRewrapCommand
impl Send for TpmRewrapCommand
impl Sync for TpmRewrapCommand
impl Unpin for TpmRewrapCommand
impl UnsafeUnpin for TpmRewrapCommand
impl UnwindSafe for TpmRewrapCommand
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