pub struct GatewayLimits {
pub attempt_timeout_seconds: u64,
pub maximum_response_bytes: usize,
pub maximum_identity_bytes: usize,
}Expand description
Bounds applied before an adapter response can enter DNS parsing.
Fields§
§attempt_timeout_seconds: u64Per-attempt deadline.
maximum_response_bytes: usizeMaximum response body.
maximum_identity_bytes: usizeMaximum UTF-8 bytes in each intermediary identity.
Trait Implementations§
Source§impl Clone for GatewayLimits
impl Clone for GatewayLimits
Source§fn clone(&self) -> GatewayLimits
fn clone(&self) -> GatewayLimits
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 GatewayLimits
Source§impl Debug for GatewayLimits
impl Debug for GatewayLimits
Source§impl Default for GatewayLimits
impl Default for GatewayLimits
Source§fn default() -> GatewayLimits
fn default() -> GatewayLimits
Returns the “default value” for a type. Read more
impl Eq for GatewayLimits
Source§impl PartialEq for GatewayLimits
impl PartialEq for GatewayLimits
impl StructuralPartialEq for GatewayLimits
Auto Trait Implementations§
impl Freeze for GatewayLimits
impl RefUnwindSafe for GatewayLimits
impl Send for GatewayLimits
impl Sync for GatewayLimits
impl Unpin for GatewayLimits
impl UnsafeUnpin for GatewayLimits
impl UnwindSafe for GatewayLimits
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.