Struct linkcheck::validation::Cache [−][src]
pub struct Cache { /* fields omitted */ }
Expand description
A cache used to skip unnecessary network requests.
Implementations
Lookup a particular CacheEntry
.
Add a new CacheEntry
to the cache.
Ask the Cache
whether a particular Url
is still okay (i.e.
CacheEntry::valid
is true
).
Iterate over all known CacheEntries
, regardless of
whether they are stale or invalid.
Forget all CacheEntries
.
Trait Implementations
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
Extends a collection with the contents of an iterator. Read more
extend_one
)Extends a collection with exactly one element.
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Auto Trait Implementations
impl RefUnwindSafe for Cache
impl UnwindSafe for Cache
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more