fuel_vm::storage::predicate

Trait PredicateStorageProvider

source
pub trait PredicateStorageProvider: Sync {
    type Storage: PredicateStorageRequirements + Send + Sync + 'static;

    // Required method
    fn storage(&self) -> Self::Storage;
}
Expand description

The type that returns the predicate storage instance.

Required Associated Types§

source

type Storage: PredicateStorageRequirements + Send + Sync + 'static

The storage type.

Required Methods§

source

fn storage(&self) -> Self::Storage

Returns the storage instance.

Implementors§