pub struct StandardPrecompileSet;Expand description
The standard precompile set on Ethereum mainnet.
Trait Implementations§
Source§impl<G: AsRef<RuntimeState> + AsRef<Config> + GasMutState, H: RuntimeBackend> PrecompileSet<G, H> for StandardPrecompileSet
impl<G: AsRef<RuntimeState> + AsRef<Config> + GasMutState, H: RuntimeBackend> PrecompileSet<G, H> for StandardPrecompileSet
Source§fn on_transaction(&self, state: &mut G, handler: &mut H)
fn on_transaction(&self, state: &mut G, handler: &mut H)
Initialize before a transaction. Used to warm precompile addresses.
Auto Trait Implementations§
impl Freeze for StandardPrecompileSet
impl RefUnwindSafe for StandardPrecompileSet
impl Send for StandardPrecompileSet
impl Sync for StandardPrecompileSet
impl Unpin for StandardPrecompileSet
impl UnwindSafe for StandardPrecompileSet
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> TrapConsume<T> for T
impl<T> TrapConsume<T> for T
Source§type Rest = Infallible
type Rest = Infallible
Rest type.
Source§fn consume(self) -> Result<T, Infallible>
fn consume(self) -> Result<T, Infallible>
Consume
T to get Rest.