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