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