pub struct OutboundOptions {
pub allow_loopback: bool,
pub max_concurrent: usize,
}Expand description
Outbound hardening knobs for ReqwestClient. The defaults are the
hardened ones: a deployment loosens them field by field, deliberately.
Fields§
§allow_loopback: boolAllow destinations whose address is loopback. Off by default: the native process must not be pointed at services on its own host. A self-hosted deployment that intends to call a local sidecar turns this on; private ranges and metadata stay blocked either way.
max_concurrent: usizeConcurrent outbound requests this process may have in flight — the per-tenant budget (one native process serves one venture). Past it, requests are refused, not queued.
Trait Implementations§
Source§impl Clone for OutboundOptions
impl Clone for OutboundOptions
Source§fn clone(&self) -> OutboundOptions
fn clone(&self) -> OutboundOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OutboundOptions
Source§impl Debug for OutboundOptions
impl Debug for OutboundOptions
Source§impl Default for OutboundOptions
impl Default for OutboundOptions
impl Eq for OutboundOptions
Source§impl PartialEq for OutboundOptions
impl PartialEq for OutboundOptions
impl StructuralPartialEq for OutboundOptions
Auto Trait Implementations§
impl Freeze for OutboundOptions
impl RefUnwindSafe for OutboundOptions
impl Send for OutboundOptions
impl Sync for OutboundOptions
impl Unpin for OutboundOptions
impl UnsafeUnpin for OutboundOptions
impl UnwindSafe for OutboundOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.