pub trait Scope {
// Required methods
fn get(&self) -> Option<Arc<dyn Any + Send + Sync>>;
fn set(&self, inst: Arc<dyn Any + Send + Sync>);
}
Expand description
Controls the lifetime of an instance created by
Builders
pub trait Scope {
// Required methods
fn get(&self) -> Option<Arc<dyn Any + Send + Sync>>;
fn set(&self, inst: Arc<dyn Any + Send + Sync>);
}
Controls the lifetime of an instance created by
Builders