Skip to content

gateway

Structs

  • GatewayConfig - Tunable timeouts and limits for the secret-gateway client, deserialized

firma_config_schema::gateway::GatewayConfig

Section titled “firma_config_schema::gateway::GatewayConfig”

Struct

Tunable timeouts and limits for the secret-gateway client, deserialized from the Sidecar’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_buffer_size: bytesize::ByteSize - Cap on the outbound payload and inbound response line size.

Methods:

  • fn max_buffer_size(self: &Self) -> usize - Byte size of the request-line cap, as a usize the reader can bound with.

Traits: Copy

Trait Implementations:

  • Default
    • fn default() -> Self
  • Serialize
    • fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>
  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Clone
    • fn clone(self: &Self) -> GatewayConfig