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