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