pub struct ParentHandle(pub u32);Expand description
A persistent TPM handle. Wraps a u32 so the wire encoding (hex
string) is localised here and the call site reads naturally.
Tuple Fields§
§0: u32Implementations§
Source§impl ParentHandle
impl ParentHandle
Trait Implementations§
Source§impl Clone for ParentHandle
impl Clone for ParentHandle
Source§fn clone(&self) -> ParentHandle
fn clone(&self) -> ParentHandle
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 ParentHandle
Source§impl Debug for ParentHandle
impl Debug for ParentHandle
impl Eq for ParentHandle
Source§impl Hash for ParentHandle
impl Hash for ParentHandle
Source§impl PartialEq for ParentHandle
impl PartialEq for ParentHandle
Source§fn eq(&self, other: &ParentHandle) -> bool
fn eq(&self, other: &ParentHandle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParentHandle
Auto Trait Implementations§
impl Freeze for ParentHandle
impl RefUnwindSafe for ParentHandle
impl Send for ParentHandle
impl Sync for ParentHandle
impl Unpin for ParentHandle
impl UnsafeUnpin for ParentHandle
impl UnwindSafe for ParentHandle
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