pub struct BlobRouterConfig {
pub request_timeout: Duration,
pub max_routes: usize,
pub max_route_attempts: usize,
pub route_attempt_budget: usize,
pub max_in_flight: usize,
pub hedge_delay: Duration,
pub initial_cooldown: Duration,
pub max_cooldown: Duration,
pub exploration_interval: u64,
}Expand description
Fixed bounds for one in-memory router.
Fields§
§request_timeout: Duration§max_routes: usize§max_route_attempts: usize§route_attempt_budget: usize§max_in_flight: usize§hedge_delay: Duration§initial_cooldown: Duration§max_cooldown: Duration§exploration_interval: u64Trait Implementations§
Source§impl Clone for BlobRouterConfig
impl Clone for BlobRouterConfig
Source§fn clone(&self) -> BlobRouterConfig
fn clone(&self) -> BlobRouterConfig
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 BlobRouterConfig
Source§impl Debug for BlobRouterConfig
impl Debug for BlobRouterConfig
Auto Trait Implementations§
impl Freeze for BlobRouterConfig
impl RefUnwindSafe for BlobRouterConfig
impl Send for BlobRouterConfig
impl Sync for BlobRouterConfig
impl Unpin for BlobRouterConfig
impl UnsafeUnpin for BlobRouterConfig
impl UnwindSafe for BlobRouterConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more