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