pub struct TpmContextSaveResponse {
pub handles: [TpmHandle; 0],
pub context: TpmsContext,
}Fields§
§handles: [TpmHandle; 0]§context: TpmsContextImplementations§
Source§impl TpmContextSaveResponse
impl TpmContextSaveResponse
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 TpmContextSaveResponse
impl Clone for TpmContextSaveResponse
Source§fn clone(&self) -> TpmContextSaveResponse
fn clone(&self) -> TpmContextSaveResponse
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 TpmContextSaveResponse
impl Debug for TpmContextSaveResponse
impl Eq for TpmContextSaveResponse
Source§impl PartialEq for TpmContextSaveResponse
impl PartialEq for TpmContextSaveResponse
Source§fn eq(&self, other: &TpmContextSaveResponse) -> bool
fn eq(&self, other: &TpmContextSaveResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TpmContextSaveResponse
Source§impl TpmFrame for TpmContextSaveResponse
impl TpmFrame for TpmContextSaveResponse
Source§impl TpmHeader for TpmContextSaveResponse
impl TpmHeader for TpmContextSaveResponse
Source§impl TpmMarshal for TpmContextSaveResponse
impl TpmMarshal for TpmContextSaveResponse
Auto Trait Implementations§
impl Freeze for TpmContextSaveResponse
impl RefUnwindSafe for TpmContextSaveResponse
impl Send for TpmContextSaveResponse
impl Sync for TpmContextSaveResponse
impl Unpin for TpmContextSaveResponse
impl UnsafeUnpin for TpmContextSaveResponse
impl UnwindSafe for TpmContextSaveResponse
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