pub struct MultiWaypoint {
pub databases: Vec<NamedDatabaseConfig>,
}Expand description
Multi-database orchestration entry point.
Fields§
§databases: Vec<NamedDatabaseConfig>List of all database configurations to orchestrate.
Implementations§
Source§impl MultiWaypoint
impl MultiWaypoint
Sourcepub fn execution_order(databases: &[NamedDatabaseConfig]) -> Result<Vec<String>>
pub fn execution_order(databases: &[NamedDatabaseConfig]) -> Result<Vec<String>>
Determine execution order based on depends_on relationships (Kahn’s algorithm).
Uses borrowed &str references internally to avoid cloning database names
during the topological sort; only clones into owned Strings for the output.
Sourcepub async fn connect(
databases: &[NamedDatabaseConfig],
filter: Option<&str>,
) -> Result<HashMap<String, Client>>
pub async fn connect( databases: &[NamedDatabaseConfig], filter: Option<&str>, ) -> Result<HashMap<String, Client>>
Connect to all databases (or a filtered subset).
Auto Trait Implementations§
impl Freeze for MultiWaypoint
impl RefUnwindSafe for MultiWaypoint
impl Send for MultiWaypoint
impl Sync for MultiWaypoint
impl Unpin for MultiWaypoint
impl UnsafeUnpin for MultiWaypoint
impl UnwindSafe for MultiWaypoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more