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
impl Copy for TpmPolicyPasswordCommand
Source§impl Debug for TpmPolicyPasswordCommand
impl Debug for TpmPolicyPasswordCommand
Source§impl Default for TpmPolicyPasswordCommand
impl Default for TpmPolicyPasswordCommand
impl Eq for TpmPolicyPasswordCommand
Source§impl PartialEq for TpmPolicyPasswordCommand
impl PartialEq for TpmPolicyPasswordCommand
impl StructuralPartialEq for TpmPolicyPasswordCommand
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
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