pub trait PgWireServerHandlers {
// Provided methods
fn simple_query_handler(&self) -> Arc<impl SimpleQueryHandler> { ... }
fn extended_query_handler(&self) -> Arc<impl ExtendedQueryHandler> { ... }
fn startup_handler(&self) -> Arc<impl StartupHandler> { ... }
fn copy_handler(&self) -> Arc<impl CopyHandler> { ... }
fn error_handler(&self) -> Arc<impl ErrorHandler> { ... }
fn cancel_handler(&self) -> Arc<impl CancelHandler> { ... }
}Provided Methods§
fn simple_query_handler(&self) -> Arc<impl SimpleQueryHandler>
fn extended_query_handler(&self) -> Arc<impl ExtendedQueryHandler>
fn startup_handler(&self) -> Arc<impl StartupHandler>
fn copy_handler(&self) -> Arc<impl CopyHandler>
fn error_handler(&self) -> Arc<impl ErrorHandler>
fn cancel_handler(&self) -> Arc<impl CancelHandler>
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.