pub struct HopBudget {
pub max_frontier: u32,
pub max_edges_scanned: u64,
}Expand description
Per-hop budget.
Fields§
§max_frontier: u32§max_edges_scanned: u64Trait Implementations§
impl Copy for HopBudget
impl Eq for HopBudget
impl StructuralPartialEq for HopBudget
Auto Trait Implementations§
impl Freeze for HopBudget
impl RefUnwindSafe for HopBudget
impl Send for HopBudget
impl Sync for HopBudget
impl Unpin for HopBudget
impl UnsafeUnpin for HopBudget
impl UnwindSafe for HopBudget
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.