pub struct SourceReport {
pub source_key: String,
pub outcome: SourceOutcome,
pub nodes: usize,
pub error: Option<String>,
pub cache_error: Option<String>,
}Expand description
Per-source diagnostics. Keys are hashes; URLs and credentials are omitted.
Fields§
§source_key: StringStable hash returned by SubscriptionSource::key().
outcome: SourceOutcomeHow this source was resolved.
nodes: usizeNumber of usable nodes in this source, before cross-source deduplication.
error: Option<String>Sanitized remote error, if this update failed.
cache_error: Option<String>Sanitized cache I/O error, if caching failed.
Trait Implementations§
Source§impl Clone for SourceReport
impl Clone for SourceReport
Source§fn clone(&self) -> SourceReport
fn clone(&self) -> SourceReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SourceReport
impl RefUnwindSafe for SourceReport
impl Send for SourceReport
impl Sync for SourceReport
impl Unpin for SourceReport
impl UnsafeUnpin for SourceReport
impl UnwindSafe for SourceReport
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