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