pub struct SchedulerCheckpoint {
pub request_queue: VecDeque<Request>,
pub visited_urls: DashSet<String>,
}Expand description
A snapshot of the scheduler’s state.
Fields§
§request_queue: VecDeque<Request>The queue of pending requests.
visited_urls: DashSet<String>The set of visited URL fingerprints.
Trait Implementations§
Source§impl Clone for SchedulerCheckpoint
impl Clone for SchedulerCheckpoint
Source§fn clone(&self) -> SchedulerCheckpoint
fn clone(&self) -> SchedulerCheckpoint
Returns a duplicate of the value. Read more
1.0.0 · 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 SchedulerCheckpoint
impl Debug for SchedulerCheckpoint
Source§impl Default for SchedulerCheckpoint
impl Default for SchedulerCheckpoint
Source§fn default() -> SchedulerCheckpoint
fn default() -> SchedulerCheckpoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchedulerCheckpoint
impl<'de> Deserialize<'de> for SchedulerCheckpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SchedulerCheckpoint
impl !RefUnwindSafe for SchedulerCheckpoint
impl Send for SchedulerCheckpoint
impl Sync for SchedulerCheckpoint
impl Unpin for SchedulerCheckpoint
impl UnwindSafe for SchedulerCheckpoint
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