pub struct ExternalRootKey { /* private fields */ }Expand description
Stable key for a value pinned in ExternalRootSet.
The generation is part of the key so a handle that has already unrooted its slot cannot accidentally observe a later handle’s value after slot reuse.
Trait Implementations§
Source§impl Clone for ExternalRootKey
impl Clone for ExternalRootKey
Source§fn clone(&self) -> ExternalRootKey
fn clone(&self) -> ExternalRootKey
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 ExternalRootKey
impl Debug for ExternalRootKey
Source§impl Hash for ExternalRootKey
impl Hash for ExternalRootKey
Source§impl PartialEq for ExternalRootKey
impl PartialEq for ExternalRootKey
Source§fn eq(&self, other: &ExternalRootKey) -> bool
fn eq(&self, other: &ExternalRootKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExternalRootKey
impl Eq for ExternalRootKey
impl StructuralPartialEq for ExternalRootKey
Auto Trait Implementations§
impl Freeze for ExternalRootKey
impl RefUnwindSafe for ExternalRootKey
impl Send for ExternalRootKey
impl Sync for ExternalRootKey
impl Unpin for ExternalRootKey
impl UnsafeUnpin for ExternalRootKey
impl UnwindSafe for ExternalRootKey
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