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