pub trait LibraryProvider {
// Required methods
fn find(&self, library_hash: &HashBytes) -> Result<Option<Cell>, Error>;
fn find_ref<'a>(
&'a self,
library_hash: &HashBytes,
) -> Result<Option<&'a DynCell>, Error>;
}Expand description
Library cells resolver.
Required Methods§
fn find(&self, library_hash: &HashBytes) -> Result<Option<Cell>, Error>
fn find_ref<'a>( &'a self, library_hash: &HashBytes, ) -> Result<Option<&'a DynCell>, Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".