pub trait ObjectSource {
// Required method
fn read_object(&self, h: &Hash) -> Result<Object, BridgeError>;
}Expand description
Anything that can hand the translator deserialized mkit objects.
Required Methods§
fn read_object(&self, h: &Hash) -> Result<Object, BridgeError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".