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