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