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