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