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