pub struct TpmClearResponse {
pub handles: [TpmHandle; 0],
}Fields§
§handles: [TpmHandle; 0]Implementations§
Source§impl TpmClearResponse
impl TpmClearResponse
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 TpmClearResponse
impl Clone for TpmClearResponse
Source§fn clone(&self) -> TpmClearResponse
fn clone(&self) -> TpmClearResponse
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 TpmClearResponse
Source§impl Debug for TpmClearResponse
impl Debug for TpmClearResponse
Source§impl Default for TpmClearResponse
impl Default for TpmClearResponse
Source§fn default() -> TpmClearResponse
fn default() -> TpmClearResponse
Returns the “default value” for a type. Read more
impl Eq for TpmClearResponse
Source§impl PartialEq for TpmClearResponse
impl PartialEq for TpmClearResponse
impl StructuralPartialEq for TpmClearResponse
Source§impl TpmFrame for TpmClearResponse
impl TpmFrame for TpmClearResponse
Source§impl TpmHeader for TpmClearResponse
impl TpmHeader for TpmClearResponse
Source§impl TpmMarshal for TpmClearResponse
impl TpmMarshal for TpmClearResponse
Source§impl TpmMarshalBody for TpmClearResponse
impl TpmMarshalBody for TpmClearResponse
Source§impl TpmSized for TpmClearResponse
impl TpmSized for TpmClearResponse
Source§impl TpmUnmarshalBody for TpmClearResponse
impl TpmUnmarshalBody for TpmClearResponse
Source§impl TryFrom<TpmResponseValue> for TpmClearResponse
impl TryFrom<TpmResponseValue> for TpmClearResponse
Source§type Error = TpmResponseValue
type Error = TpmResponseValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TpmClearResponse
impl RefUnwindSafe for TpmClearResponse
impl Send for TpmClearResponse
impl Sync for TpmClearResponse
impl Unpin for TpmClearResponse
impl UnsafeUnpin for TpmClearResponse
impl UnwindSafe for TpmClearResponse
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