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