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