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