pub struct TpmAcSendResponse {
pub handles: [TpmHandle; 0],
pub ac_data_out: TpmsAcOutput,
}Fields§
§handles: [TpmHandle; 0]§ac_data_out: TpmsAcOutputImplementations§
Source§impl TpmAcSendResponse
impl TpmAcSendResponse
Sourcepub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmResponse>
pub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmResponse>
Casts a response frame into a typed wire view for this response.
§Errors
Returns Err(TpmError) when the frame envelope is malformed.
Sourcepub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmResponse>
pub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmResponse>
Casts a mutable response frame into a typed mutable wire view for this response.
§Errors
Returns Err(TpmError) when the frame envelope is malformed.
Trait Implementations§
Source§impl Clone for TpmAcSendResponse
impl Clone for TpmAcSendResponse
Source§fn clone(&self) -> TpmAcSendResponse
fn clone(&self) -> TpmAcSendResponse
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 TpmAcSendResponse
impl Debug for TpmAcSendResponse
Source§impl PartialEq for TpmAcSendResponse
impl PartialEq for TpmAcSendResponse
Source§fn eq(&self, other: &TpmAcSendResponse) -> bool
fn eq(&self, other: &TpmAcSendResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmAcSendResponse
impl TpmFrame for TpmAcSendResponse
Source§impl TpmHeader for TpmAcSendResponse
impl TpmHeader for TpmAcSendResponse
Source§impl TpmMarshal for TpmAcSendResponse
impl TpmMarshal for TpmAcSendResponse
Source§impl TpmMarshalBody for TpmAcSendResponse
impl TpmMarshalBody for TpmAcSendResponse
Source§impl TpmSized for TpmAcSendResponse
impl TpmSized for TpmAcSendResponse
impl Eq for TpmAcSendResponse
impl StructuralPartialEq for TpmAcSendResponse
Auto Trait Implementations§
impl Freeze for TpmAcSendResponse
impl RefUnwindSafe for TpmAcSendResponse
impl Send for TpmAcSendResponse
impl Sync for TpmAcSendResponse
impl Unpin for TpmAcSendResponse
impl UnsafeUnpin for TpmAcSendResponse
impl UnwindSafe for TpmAcSendResponse
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