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