Skip to main content

ObjectSource

Trait ObjectSource 

Source
pub trait ObjectSource {
    // Required method
    fn object(&mut self, id: ObjectId) -> Result<Object<'_>>;
}
Expand description

An immutable object view is valid until the next mutable source access.

Required Methods§

Source

fn object(&mut self, id: ObjectId) -> Result<Object<'_>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§