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