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