pub struct TpmEccDecryptCommand {
pub handles: [TpmHandle; 1],
pub c1: Tpm2bEccPoint,
pub c2: Tpm2bMaxBuffer,
pub c3: Tpm2bDigest,
pub in_scheme: TpmtKdfScheme,
}Fields§
§handles: [TpmHandle; 1]§c1: Tpm2bEccPoint§c2: Tpm2bMaxBuffer§c3: Tpm2bDigest§in_scheme: TpmtKdfSchemeImplementations§
Source§impl TpmEccDecryptCommand
impl TpmEccDecryptCommand
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 TpmEccDecryptCommand
impl Clone for TpmEccDecryptCommand
Source§fn clone(&self) -> TpmEccDecryptCommand
fn clone(&self) -> TpmEccDecryptCommand
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 TpmEccDecryptCommand
impl Debug for TpmEccDecryptCommand
Source§impl PartialEq for TpmEccDecryptCommand
impl PartialEq for TpmEccDecryptCommand
Source§fn eq(&self, other: &TpmEccDecryptCommand) -> bool
fn eq(&self, other: &TpmEccDecryptCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmEccDecryptCommand
impl TpmFrame for TpmEccDecryptCommand
Source§impl TpmHeader for TpmEccDecryptCommand
impl TpmHeader for TpmEccDecryptCommand
Source§impl TpmMarshal for TpmEccDecryptCommand
impl TpmMarshal for TpmEccDecryptCommand
Source§impl TpmSized for TpmEccDecryptCommand
impl TpmSized for TpmEccDecryptCommand
impl Copy for TpmEccDecryptCommand
impl Eq for TpmEccDecryptCommand
impl StructuralPartialEq for TpmEccDecryptCommand
Auto Trait Implementations§
impl Freeze for TpmEccDecryptCommand
impl RefUnwindSafe for TpmEccDecryptCommand
impl Send for TpmEccDecryptCommand
impl Sync for TpmEccDecryptCommand
impl Unpin for TpmEccDecryptCommand
impl UnsafeUnpin for TpmEccDecryptCommand
impl UnwindSafe for TpmEccDecryptCommand
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