pub trait Cacheable:
Send
+ Sync
+ Clone
+ 'static {
// Required method
fn weight(&self) -> u32;
}Expand description
A value type storable in ResourceCache.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".