pub trait SyncPackageStore {
// Required method
fn fetch(&self, id: AccountAddress) -> Result<Arc<Package>>;
}Expand description
Synchronous analogue of PackageStore, driving SyncResolver. Has no
Send/Sync/'static bounds so implementations can borrow freely.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<S: BackingPackageStore> SyncPackageStore for S
Every [BackingPackageStore] implementation is usable as a SyncPackageStore. The blanket
also covers &B, Arc<B>, Box<B> for any B: BackingPackageStore via
[BackingPackageStore]’s own forwarding impls.