Skip to main content

Builder

Type Alias Builder 

Source
pub type Builder<Host, Handler = NullHandler, Runner = NullRun, Close = NullClose> = Builder<Host, Handler, Runner, Close, V2>;
Available on crate feature unstable_protocol_v2 only.
Expand description

A protocol v2 connection builder, returned by Client.v2(), Agent.v2() and Proxy.v2().

Typed handlers receive v2 request handles and callbacks receive a ConnectionTo.

Aliased Typeยง

pub struct Builder<Host, Handler = NullHandler, Runner = NullRun, Close = NullClose> { /* private fields */ }