Trait ReflectionAdapterUninitialized

Source
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§

Required Methods§

Source

fn set_connection_string(&mut self, connection_string: &str)

Source

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.

Implementors§