PgWireServerHandlers

Trait PgWireServerHandlers 

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

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.

Implementations on Foreign Types§

Source§

impl<T> PgWireServerHandlers for Arc<T>

Implementors§