Trait tor_rpcbase::ContextExt
source · pub trait ContextExt: Context {
// Provided method
fn lookup<T: Object>(&self, id: &ObjectId) -> Result<Arc<T>, LookupError> { ... }
}Expand description
Extension trait for Context.
This is a separate trait so that Context can be object-safe.