broker
Module: broker
Section titled “Module: broker”Contents
Section titled “Contents”Structs
BrokerConfig- Tunable timeouts and limits for firma-run shim broker, deserialized from
firma_config_schema::broker::BrokerConfig
Section titled “firma_config_schema::broker::BrokerConfig”Struct
Tunable timeouts and limits for firma-run shim broker, deserialized from
the shim’s firma.toml.
Fields:
connection_timeout: crate::utils::NonZeroDuration- Deadline for establishing the connection to the gateway endpoint.operation_timeout: crate::utils::NonZeroDuration- Deadline for a single write-then-read round-trip once connected.max_request_size: bytesize::ByteSize- Cap on the outbound request line size, enforced before connecting.max_response_size: bytesize::ByteSize- Cap on the inbound response line size.
Methods:
fn max_request_size(self: &Self) -> usize- Byte size of the request-line cap, as ausizethe reader can bound with.fn max_response_size(self: &Self) -> usize- Byte size of the response-line cap, as ausizethe reader can bound with.
Traits: Copy
Trait Implementations:
- Clone
fn clone(self: &Self) -> BrokerConfig
- Default
fn default() -> Self
- Serialize
fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Deserialize
fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>