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