pub struct ResolveOpts {
pub max_gap_fills: u32,
pub hop_cap: u32,
}Expand description
Tunables bounding how hard resolve_roots works per call.
Fields§
§max_gap_fills: u32Maximum number of missing ancestor ids to fetch from the network.
hop_cap: u32Maximum hops to walk up a single chain before giving up.
Trait Implementations§
Source§impl Clone for ResolveOpts
impl Clone for ResolveOpts
Source§fn clone(&self) -> ResolveOpts
fn clone(&self) -> ResolveOpts
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 ResolveOpts
Source§impl Debug for ResolveOpts
impl Debug for ResolveOpts
Source§impl Default for ResolveOpts
impl Default for ResolveOpts
impl Eq for ResolveOpts
Source§impl PartialEq for ResolveOpts
impl PartialEq for ResolveOpts
Source§fn eq(&self, other: &ResolveOpts) -> bool
fn eq(&self, other: &ResolveOpts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolveOpts
Auto Trait Implementations§
impl Freeze for ResolveOpts
impl RefUnwindSafe for ResolveOpts
impl Send for ResolveOpts
impl Sync for ResolveOpts
impl Unpin for ResolveOpts
impl UnsafeUnpin for ResolveOpts
impl UnwindSafe for ResolveOpts
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