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
impl Eq for RetrievalLocation
impl StructuralPartialEq for RetrievalLocation
Auto Trait Implementations§
impl Freeze for RetrievalLocation
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