pub enum CreateAncientStorage {
Append,
Pack,
}
Variants§
Append
ancient storages are created by appending
Pack
ancient storages are created by 1-shot write to pack multiple accounts together more efficiently with new formats
Trait Implementations§
source§impl Clone for CreateAncientStorage
impl Clone for CreateAncientStorage
source§fn clone(&self) -> CreateAncientStorage
fn clone(&self) -> CreateAncientStorage
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 CreateAncientStorage
impl Debug for CreateAncientStorage
source§impl Default for CreateAncientStorage
impl Default for CreateAncientStorage
source§fn default() -> CreateAncientStorage
fn default() -> CreateAncientStorage
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateAncientStorage> for CreateAncientStorage
impl PartialEq<CreateAncientStorage> for CreateAncientStorage
source§fn eq(&self, other: &CreateAncientStorage) -> bool
fn eq(&self, other: &CreateAncientStorage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CreateAncientStorage
impl Eq for CreateAncientStorage
impl StructuralEq for CreateAncientStorage
impl StructuralPartialEq for CreateAncientStorage
Auto Trait Implementations§
impl RefUnwindSafe for CreateAncientStorage
impl Send for CreateAncientStorage
impl Sync for CreateAncientStorage
impl Unpin for CreateAncientStorage
impl UnwindSafe for CreateAncientStorage
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.