pub enum RetrievalLocation {
RemoteUrl(String),
Cache(PathBuf),
}Expand description
Location a Document was retrieved from.
Variants§
RemoteUrl(String)
A document retrieved from a remote URL.
Cache(PathBuf)
A document retrieved from a cache.
Trait Implementations§
source§impl Debug for RetrievalLocation
impl Debug for RetrievalLocation
source§impl PartialEq<RetrievalLocation> for RetrievalLocation
impl PartialEq<RetrievalLocation> for RetrievalLocation
source§fn eq(&self, other: &RetrievalLocation) -> bool
fn eq(&self, other: &RetrievalLocation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.