pub struct TpmPolicyAuthValueCommand {
pub handles: [TpmHandle; 1],
}Fields§
§handles: [TpmHandle; 1]Implementations§
Source§impl TpmPolicyAuthValueCommand
impl TpmPolicyAuthValueCommand
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 TpmPolicyAuthValueCommand
impl Clone for TpmPolicyAuthValueCommand
Source§fn clone(&self) -> TpmPolicyAuthValueCommand
fn clone(&self) -> TpmPolicyAuthValueCommand
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 TpmPolicyAuthValueCommand
impl Debug for TpmPolicyAuthValueCommand
Source§impl Default for TpmPolicyAuthValueCommand
impl Default for TpmPolicyAuthValueCommand
Source§fn default() -> TpmPolicyAuthValueCommand
fn default() -> TpmPolicyAuthValueCommand
Returns the “default value” for a type. Read more
Source§impl PartialEq for TpmPolicyAuthValueCommand
impl PartialEq for TpmPolicyAuthValueCommand
Source§fn eq(&self, other: &TpmPolicyAuthValueCommand) -> bool
fn eq(&self, other: &TpmPolicyAuthValueCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmPolicyAuthValueCommand
impl TpmFrame for TpmPolicyAuthValueCommand
Source§impl TpmSized for TpmPolicyAuthValueCommand
impl TpmSized for TpmPolicyAuthValueCommand
impl Copy for TpmPolicyAuthValueCommand
impl Eq for TpmPolicyAuthValueCommand
impl StructuralPartialEq for TpmPolicyAuthValueCommand
Auto Trait Implementations§
impl Freeze for TpmPolicyAuthValueCommand
impl RefUnwindSafe for TpmPolicyAuthValueCommand
impl Send for TpmPolicyAuthValueCommand
impl Sync for TpmPolicyAuthValueCommand
impl Unpin for TpmPolicyAuthValueCommand
impl UnsafeUnpin for TpmPolicyAuthValueCommand
impl UnwindSafe for TpmPolicyAuthValueCommand
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