pub struct WireProxyConfig {
pub wire_listen_addr: SocketAddr,
pub brain_addr: SocketAddr,
pub rate: RateLimitConfig,
}Expand description
Deploy-time configuration for the wire proxy listener.
Fields§
§wire_listen_addr: SocketAddrAddress the proxy accepts customer wire connections on.
brain_addr: SocketAddrThe Brain database listener each customer connection is spliced to.
rate: RateLimitConfigPer-credential token-bucket rate limiting (disabled when capacity is 0).
Trait Implementations§
Source§impl Clone for WireProxyConfig
impl Clone for WireProxyConfig
Auto Trait Implementations§
impl Freeze for WireProxyConfig
impl RefUnwindSafe for WireProxyConfig
impl Send for WireProxyConfig
impl Sync for WireProxyConfig
impl Unpin for WireProxyConfig
impl UnsafeUnpin for WireProxyConfig
impl UnwindSafe for WireProxyConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more