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