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