Struct pgwire::protocol::RunParams [−][src]
pub struct RunParams<'a, A> {
pub tls_mode: Option<TlsMode>,
pub coord_client: ConnClient,
pub conn: &'a mut FramedConn<A>,
pub version: i32,
pub params: HashMap<String, String>,
pub metrics: &'a Metrics,
}
Expand description
Parameters for the run
function.
Fields
tls_mode: Option<TlsMode>
The TLS mode of the pgwire server.
coord_client: ConnClient
A client for the coordinator.
conn: &'a mut FramedConn<A>
The connection to the client.
version: i32
The protocol version that the client provided in the startup message.
params: HashMap<String, String>
The parameters that the client provided in the startup message.
metrics: &'a Metrics
The server’s metrics.
Auto Trait Implementations
impl<'a, A> !RefUnwindSafe for RunParams<'a, A>
impl<'a, A> !UnwindSafe for RunParams<'a, A>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more