pub struct LookupResult {
pub id: WorkId,
pub record: Option<SourceRecord>,
pub attempts: Vec<Attempt>,
}Fields§
§id: WorkIdAs requested.
record: Option<SourceRecord>§attempts: Vec<Attempt>Every provider tried, in order. Empty: no enabled provider accepts this kind of identifier.
Implementations§
Source§impl LookupResult
impl LookupResult
Sourcepub fn is_not_found(&self) -> bool
pub fn is_not_found(&self) -> bool
No provider found it, and at least one could answer authoritatively (rather than every attempt failing).
Trait Implementations§
Source§impl Clone for LookupResult
impl Clone for LookupResult
Auto Trait Implementations§
impl !RefUnwindSafe for LookupResult
impl !UnwindSafe for LookupResult
impl Forget for LookupResult
impl Freeze for LookupResult
impl Send for LookupResult
impl Sync for LookupResult
impl Unpin for LookupResult
impl UnsafeUnpin for LookupResult
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