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