pub struct TpmAcGetCapabilityResponse {
pub handles: [TpmHandle; 0],
pub more_data: TpmiYesNo,
pub capabilities_data: TpmlAcCapabilities,
}Fields§
§handles: [TpmHandle; 0]§more_data: TpmiYesNo§capabilities_data: TpmlAcCapabilitiesImplementations§
Source§impl TpmAcGetCapabilityResponse
impl TpmAcGetCapabilityResponse
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 TpmAcGetCapabilityResponse
impl Clone for TpmAcGetCapabilityResponse
Source§fn clone(&self) -> TpmAcGetCapabilityResponse
fn clone(&self) -> TpmAcGetCapabilityResponse
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 TpmAcGetCapabilityResponse
impl Debug for TpmAcGetCapabilityResponse
Source§impl PartialEq for TpmAcGetCapabilityResponse
impl PartialEq for TpmAcGetCapabilityResponse
Source§fn eq(&self, other: &TpmAcGetCapabilityResponse) -> bool
fn eq(&self, other: &TpmAcGetCapabilityResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmSized for TpmAcGetCapabilityResponse
impl TpmSized for TpmAcGetCapabilityResponse
impl Eq for TpmAcGetCapabilityResponse
impl StructuralPartialEq for TpmAcGetCapabilityResponse
Auto Trait Implementations§
impl Freeze for TpmAcGetCapabilityResponse
impl RefUnwindSafe for TpmAcGetCapabilityResponse
impl Send for TpmAcGetCapabilityResponse
impl Sync for TpmAcGetCapabilityResponse
impl Unpin for TpmAcGetCapabilityResponse
impl UnsafeUnpin for TpmAcGetCapabilityResponse
impl UnwindSafe for TpmAcGetCapabilityResponse
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