pub struct ProviderError {
pub source: &'static str,
pub error: Error,
}Expand description
An error raised by a single provider during aggregation, tagged with its source.
Aggregation never fails as a whole: a provider that errors contributes a
ProviderError here while every other provider’s good results are still
returned.
Fields§
§source: &'static strThe id of the provider that failed.
error: ErrorThe underlying error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProviderError
impl RefUnwindSafe for ProviderError
impl Send for ProviderError
impl Sync for ProviderError
impl Unpin for ProviderError
impl UnsafeUnpin for ProviderError
impl UnwindSafe for ProviderError
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