pub struct TpmSequenceUpdateCommand {
pub handles: [TpmHandle; 1],
pub buffer: Tpm2bMaxBuffer,
}Fields§
§handles: [TpmHandle; 1]§buffer: Tpm2bMaxBufferImplementations§
Source§impl TpmSequenceUpdateCommand
impl TpmSequenceUpdateCommand
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 TpmSequenceUpdateCommand
impl Clone for TpmSequenceUpdateCommand
Source§fn clone(&self) -> TpmSequenceUpdateCommand
fn clone(&self) -> TpmSequenceUpdateCommand
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 TpmSequenceUpdateCommand
impl Debug for TpmSequenceUpdateCommand
Source§impl PartialEq for TpmSequenceUpdateCommand
impl PartialEq for TpmSequenceUpdateCommand
Source§fn eq(&self, other: &TpmSequenceUpdateCommand) -> bool
fn eq(&self, other: &TpmSequenceUpdateCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmSequenceUpdateCommand
impl TpmFrame for TpmSequenceUpdateCommand
Source§impl TpmHeader for TpmSequenceUpdateCommand
impl TpmHeader for TpmSequenceUpdateCommand
Source§impl TpmSized for TpmSequenceUpdateCommand
impl TpmSized for TpmSequenceUpdateCommand
impl Eq for TpmSequenceUpdateCommand
impl StructuralPartialEq for TpmSequenceUpdateCommand
Auto Trait Implementations§
impl Freeze for TpmSequenceUpdateCommand
impl RefUnwindSafe for TpmSequenceUpdateCommand
impl Send for TpmSequenceUpdateCommand
impl Sync for TpmSequenceUpdateCommand
impl Unpin for TpmSequenceUpdateCommand
impl UnsafeUnpin for TpmSequenceUpdateCommand
impl UnwindSafe for TpmSequenceUpdateCommand
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