server
Module: broker::server
Section titled “Module: broker::server”Contents
Section titled “Contents”Modules
Structs
BrokerListener- Broker-side listener: accepts shim connections and dispatches requests.
firma_secret_provider::broker::server::BrokerListener
Section titled “firma_secret_provider::broker::server::BrokerListener”Struct
Broker-side listener: accepts shim connections and dispatches requests.
Methods:
fn bind(endpoint: &ServerEndpoint, config: config::BrokerListenerConfig) -> io::Result<Self>- Bind a listener atendpointwithconfig.fn bound_endpoint(self: &Self) -> io::Result<EndpointInner>- Return the address this listener is actually bound to.fn accept_one<F>(self: &Self, handler: F) -> io::Result<()>- Accept one shim connection, invokehandler(request), and write the
Trait Implementations:
- Drop
fn drop(self: & mut Self)