pub trait Connections: Send + Sync {
// Required methods
fn profile(
&self,
name: &str,
role: Option<&str>,
) -> Result<Connection, String>;
fn identifier_quote(&self, kind: &str) -> Result<Option<String>, String>;
}Expand description
Where connection, destination and profile() get their values. role is connection
or destination; None finds the profile in whichever section has it.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".