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