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