pub struct TpmPolicyDuplicationSelectCommand {
pub handles: [TpmHandle; 1],
pub object_name: Tpm2bName,
pub new_parent_name: Tpm2bName,
pub include_object: TpmiYesNo,
}Fields§
§handles: [TpmHandle; 1]§object_name: Tpm2bName§new_parent_name: Tpm2bName§include_object: TpmiYesNoImplementations§
Source§impl TpmPolicyDuplicationSelectCommand
impl TpmPolicyDuplicationSelectCommand
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 TpmPolicyDuplicationSelectCommand
impl Clone for TpmPolicyDuplicationSelectCommand
Source§fn clone(&self) -> TpmPolicyDuplicationSelectCommand
fn clone(&self) -> TpmPolicyDuplicationSelectCommand
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 PartialEq for TpmPolicyDuplicationSelectCommand
impl PartialEq for TpmPolicyDuplicationSelectCommand
Source§fn eq(&self, other: &TpmPolicyDuplicationSelectCommand) -> bool
fn eq(&self, other: &TpmPolicyDuplicationSelectCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmSized for TpmPolicyDuplicationSelectCommand
impl TpmSized for TpmPolicyDuplicationSelectCommand
impl Eq for TpmPolicyDuplicationSelectCommand
impl StructuralPartialEq for TpmPolicyDuplicationSelectCommand
Auto Trait Implementations§
impl Freeze for TpmPolicyDuplicationSelectCommand
impl RefUnwindSafe for TpmPolicyDuplicationSelectCommand
impl Send for TpmPolicyDuplicationSelectCommand
impl Sync for TpmPolicyDuplicationSelectCommand
impl Unpin for TpmPolicyDuplicationSelectCommand
impl UnsafeUnpin for TpmPolicyDuplicationSelectCommand
impl UnwindSafe for TpmPolicyDuplicationSelectCommand
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