pub enum Next {
Ready(Seed),
Wait(Instant),
Empty,
}Expand description
The result of Frontier::pop.
Variants§
Ready(Seed)
A seed is ready to be crawled.
Wait(Instant)
No seed is ready now, but one will be at the given instant.
Empty
No seed is queued.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Next
impl RefUnwindSafe for Next
impl Send for Next
impl Sync for Next
impl Unpin for Next
impl UnsafeUnpin for Next
impl UnwindSafe for Next
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