#[non_exhaustive]pub enum RequestSource {
Request(Request),
}Expand description
A source from which requests can be added.
Sitemap ingestion ships as crate::sitemap::RequestQueueWithSitemap, a queue wrapper rather
than a RequestSource variant, which keeps queue backends decoupled from fetching. This enum
remains non-exhaustive for future request-source variants.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for RequestSource
impl Clone for RequestSource
Source§fn clone(&self) -> RequestSource
fn clone(&self) -> RequestSource
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 RequestSource
impl Debug for RequestSource
Auto Trait Implementations§
impl Freeze for RequestSource
impl RefUnwindSafe for RequestSource
impl Send for RequestSource
impl Sync for RequestSource
impl Unpin for RequestSource
impl UnsafeUnpin for RequestSource
impl UnwindSafe for RequestSource
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