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