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
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