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