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