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