pub enum StorageSelector {
Primary,
Overflow,
}
Expand description
a set of accounts need to be stored. If there are too many to fit in ‘Primary’, the rest are put in ‘Overflow’
Variants§
Trait Implementations§
source§impl Clone for StorageSelector
impl Clone for StorageSelector
source§fn clone(&self) -> StorageSelector
fn clone(&self) -> StorageSelector
Returns a copy of the value. Read more
1.0.0 · 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 StorageSelector
impl Debug for StorageSelector
source§impl PartialEq for StorageSelector
impl PartialEq for StorageSelector
source§fn eq(&self, other: &StorageSelector) -> bool
fn eq(&self, other: &StorageSelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StorageSelector
impl Eq for StorageSelector
impl StructuralEq for StorageSelector
impl StructuralPartialEq for StorageSelector
Auto Trait Implementations§
impl RefUnwindSafe for StorageSelector
impl Send for StorageSelector
impl Sync for StorageSelector
impl Unpin for StorageSelector
impl UnwindSafe for StorageSelector
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.