pub enum StorageLocation {
AppendVec(AppendVecId, Offset),
Cached,
}
Expand description
specify where account data is located
Variants§
AppendVec(AppendVecId, Offset)
Cached
Implementations§
source§impl StorageLocation
impl StorageLocation
pub fn is_offset_equal(&self, other: &StorageLocation) -> bool
pub fn is_store_id_equal(&self, other: &StorageLocation) -> bool
Trait Implementations§
source§impl Debug for StorageLocation
impl Debug for StorageLocation
source§impl PartialEq<StorageLocation> for StorageLocation
impl PartialEq<StorageLocation> for StorageLocation
source§fn eq(&self, other: &StorageLocation) -> bool
fn eq(&self, other: &StorageLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StorageLocation
impl StructuralEq for StorageLocation
impl StructuralPartialEq for StorageLocation
Auto Trait Implementations§
impl RefUnwindSafe for StorageLocation
impl Send for StorageLocation
impl Sync for StorageLocation
impl Unpin for StorageLocation
impl UnwindSafe for StorageLocation
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. 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.