pub struct TpmPolicyCounterTimerResponse {
pub handles: [TpmHandle; 0],
}Fields§
§handles: [TpmHandle; 0]Implementations§
Source§impl TpmPolicyCounterTimerResponse
impl TpmPolicyCounterTimerResponse
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§
impl Copy for TpmPolicyCounterTimerResponse
impl Eq for TpmPolicyCounterTimerResponse
impl StructuralPartialEq for TpmPolicyCounterTimerResponse
Source§impl TpmSized for TpmPolicyCounterTimerResponse
impl TpmSized for TpmPolicyCounterTimerResponse
Source§impl TryFrom<TpmResponseValue> for TpmPolicyCounterTimerResponse
impl TryFrom<TpmResponseValue> for TpmPolicyCounterTimerResponse
Source§type Error = TpmResponseValue
type Error = TpmResponseValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TpmPolicyCounterTimerResponse
impl RefUnwindSafe for TpmPolicyCounterTimerResponse
impl Send for TpmPolicyCounterTimerResponse
impl Sync for TpmPolicyCounterTimerResponse
impl Unpin for TpmPolicyCounterTimerResponse
impl UnsafeUnpin for TpmPolicyCounterTimerResponse
impl UnwindSafe for TpmPolicyCounterTimerResponse
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