pub struct TpmZGen2PhaseResponse {
pub handles: [TpmHandle; 0],
pub out_z1: Tpm2bEccPoint,
pub out_z2: Tpm2bEccPoint,
}Fields§
§handles: [TpmHandle; 0]§out_z1: Tpm2bEccPoint§out_z2: Tpm2bEccPointImplementations§
Source§impl TpmZGen2PhaseResponse
impl TpmZGen2PhaseResponse
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 TpmZGen2PhaseResponse
impl Clone for TpmZGen2PhaseResponse
Source§fn clone(&self) -> TpmZGen2PhaseResponse
fn clone(&self) -> TpmZGen2PhaseResponse
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 TpmZGen2PhaseResponse
impl Debug for TpmZGen2PhaseResponse
impl Eq for TpmZGen2PhaseResponse
Source§impl PartialEq for TpmZGen2PhaseResponse
impl PartialEq for TpmZGen2PhaseResponse
impl StructuralPartialEq for TpmZGen2PhaseResponse
Source§impl TpmFrame for TpmZGen2PhaseResponse
impl TpmFrame for TpmZGen2PhaseResponse
Source§impl TpmHeader for TpmZGen2PhaseResponse
impl TpmHeader for TpmZGen2PhaseResponse
Source§impl TpmMarshal for TpmZGen2PhaseResponse
impl TpmMarshal for TpmZGen2PhaseResponse
Source§impl TpmSized for TpmZGen2PhaseResponse
impl TpmSized for TpmZGen2PhaseResponse
Source§impl TryFrom<TpmResponseValue> for TpmZGen2PhaseResponse
impl TryFrom<TpmResponseValue> for TpmZGen2PhaseResponse
Source§type Error = TpmResponseValue
type Error = TpmResponseValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TpmZGen2PhaseResponse
impl RefUnwindSafe for TpmZGen2PhaseResponse
impl Send for TpmZGen2PhaseResponse
impl Sync for TpmZGen2PhaseResponse
impl Unpin for TpmZGen2PhaseResponse
impl UnsafeUnpin for TpmZGen2PhaseResponse
impl UnwindSafe for TpmZGen2PhaseResponse
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