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 for RetrievalLocation
impl PartialEq 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 ==
.impl Eq for RetrievalLocation
impl StructuralEq for RetrievalLocation
impl StructuralPartialEq for RetrievalLocation
Auto Trait Implementations§
impl RefUnwindSafe for RetrievalLocation
impl Send for RetrievalLocation
impl Sync for RetrievalLocation
impl Unpin for RetrievalLocation
impl UnwindSafe for RetrievalLocation
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