pub trait ReflectionAdapterUninitialized<T: Database> {
type ValidAdapter: ReflectionAdapter<T>;
// Required methods
fn set_connection_string(&mut self, connection_string: &str);
fn connect(
self,
) -> impl Future<Output = Result<Self::ValidAdapter, ReflectionAdapterError>> + Send;
}
Required Associated Types§
type ValidAdapter: ReflectionAdapter<T>
Required Methods§
fn set_connection_string(&mut self, connection_string: &str)
fn connect( self, ) -> impl Future<Output = Result<Self::ValidAdapter, ReflectionAdapterError>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.