pub(crate) trait TokenDataSource<T: NodeType> {
// Required methods
fn get_initial_supply_l1(&self) -> impl Send + Future<Output = Result<U256>>;
fn get_total_supply_l1(&self) -> impl Send + Future<Output = Result<U256>>;
fn get_decided_header(&self) -> impl Send + Future<Output = Header>;
}Required Methods§
fn get_initial_supply_l1(&self) -> impl Send + Future<Output = Result<U256>>
fn get_total_supply_l1(&self) -> impl Send + Future<Output = Result<U256>>
fn get_decided_header(&self) -> impl Send + Future<Output = Header>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.