Skip to main content

ObjectSource

Trait ObjectSource 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ObjectSource for ObjectStore

Implementors§