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