pub struct BlobRouteContext {
pub deadline: Instant,
pub attempt_budget: usize,
}Expand description
Per-search limits supplied by an outer router to one opaque route.
These limits are process-local and are deliberately not part of the
published BlobRequest wire format. Terminal routes may ignore the
attempt budget; composite routes use it to bound their own internal peer
selection.
Fields§
§deadline: Instant§attempt_budget: usizeTrait Implementations§
Source§impl Clone for BlobRouteContext
impl Clone for BlobRouteContext
Source§fn clone(&self) -> BlobRouteContext
fn clone(&self) -> BlobRouteContext
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 BlobRouteContext
Auto Trait Implementations§
impl Freeze for BlobRouteContext
impl RefUnwindSafe for BlobRouteContext
impl Send for BlobRouteContext
impl Sync for BlobRouteContext
impl Unpin for BlobRouteContext
impl UnsafeUnpin for BlobRouteContext
impl UnwindSafe for BlobRouteContext
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