Struct account_state::backend::Basic [−][src]
A basic backend. Just wraps the given database, directly inserting into and deleting from it. Doesn’t cache anything.
Trait Implementations
impl<H: AsHashDB<KeccakHasher, DBValue> + Send + Sync> Backend for Basic<H>[src]
fn as_hash_db(&self) -> &dyn HashDB<KeccakHasher, DBValue>[src]
fn as_hash_db_mut(&mut self) -> &mut dyn HashDB<KeccakHasher, DBValue>[src]
fn add_to_account_cache(&mut self, _: Address, _: Option<Account>, _: bool)[src]
fn cache_code(&self, _: H256, _: Arc<Vec<u8>>)[src]
fn get_cached_account(&self, _: &Address) -> Option<Option<Account>>[src]
fn get_cached<F, U>(&self, _: &Address, _: F) -> Option<U> where
F: FnOnce(Option<&mut Account>) -> U, [src]
F: FnOnce(Option<&mut Account>) -> U,
fn get_cached_code(&self, _: &H256) -> Option<Arc<Vec<u8>>>[src]
fn note_non_null_account(&self, _: &Address)[src]
fn is_known_null(&self, _: &Address) -> bool[src]
Auto Trait Implementations
impl<H> RefUnwindSafe for Basic<H> where
H: RefUnwindSafe,
H: RefUnwindSafe,
impl<H> Send for Basic<H> where
H: Send,
H: Send,
impl<H> Sync for Basic<H> where
H: Sync,
H: Sync,
impl<H> Unpin for Basic<H> where
H: Unpin,
H: Unpin,
impl<H> UnwindSafe for Basic<H> where
H: UnwindSafe,
H: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,