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