pub struct SchedulerOptions {
pub priority_event_channel_capacity: usize,
pub discovery_event_channel_capacity: usize,
pub event_batch_limit: usize,
pub node_batch_limit: usize,
pub routing_snapshot_size: usize,
pub snapshot_refresh_millis: u64,
}Expand description
Capacities and batch limits for the crawl actor.
Fields§
§priority_event_channel_capacity: usizeCapacity for response/bootstrap priority events.
discovery_event_channel_capacity: usizeCapacity for newly discovered node events.
event_batch_limit: usizeMaximum events drained per actor iteration.
node_batch_limit: usizeMaximum discovery nodes drained per actor iteration.
routing_snapshot_size: usizeMaximum responsive nodes published in the lock-free snapshot.
snapshot_refresh_millis: u64Snapshot publication interval in milliseconds.
Trait Implementations§
Source§impl Clone for SchedulerOptions
impl Clone for SchedulerOptions
Source§fn clone(&self) -> SchedulerOptions
fn clone(&self) -> SchedulerOptions
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 moreSource§impl Debug for SchedulerOptions
impl Debug for SchedulerOptions
Auto Trait Implementations§
impl Freeze for SchedulerOptions
impl RefUnwindSafe for SchedulerOptions
impl Send for SchedulerOptions
impl Sync for SchedulerOptions
impl Unpin for SchedulerOptions
impl UnsafeUnpin for SchedulerOptions
impl UnwindSafe for SchedulerOptions
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