pub struct RobotsCache { /* private fields */ }Expand description
Robots.txt cache
Implementations§
Source§impl RobotsCache
impl RobotsCache
Sourcepub fn get_crawl_delay(&self, url: &Url) -> Option<f64>
pub fn get_crawl_delay(&self, url: &Url) -> Option<f64>
Retrieves the crawl-delay
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RobotsCache
impl RefUnwindSafe for RobotsCache
impl Send for RobotsCache
impl Sync for RobotsCache
impl Unpin for RobotsCache
impl UnwindSafe for RobotsCache
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