pub unsafe trait SendableExt: Clone {
// Provided method
fn detached(&self) -> Self { ... }
}Expand description
Network extension state that can be copied without sharing thread-unsafe state.
Some extensions, such as Tempo’s, share transaction-local state with their precompiles
through Rc. StoredExt keeps such state outside a running EVM and across threads.
§Safety
Self::detached must return a value that shares no thread-unsafe state with self or any
other value, and must not access thread-unsafe state of self.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
impl SendableExt for ()
impl SendableExt for BaseEvmExt
Available on crate feature
base only.impl SendableExt for MonadEvmExt
Available on crate feature
monad only.impl SendableExt for OpEvmExt
Available on crate feature
optimism only.