Skip to main content

RuntimeDriverRegistry

Trait RuntimeDriverRegistry 

Source
pub trait RuntimeDriverRegistry: Send + Sync {
    type Driver: RuntimeDriver + ?Sized;

    // Required method
    fn driver(&self, agent_id: &str) -> Option<&Self::Driver>;
}
Expand description

Read-only driver selection. The composing host owns registration and process lifetime; callers receive no mutable process-global authority.

Required Associated Types§

Required Methods§

Source

fn driver(&self, agent_id: &str) -> Option<&Self::Driver>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§