pub enum SourceOutcome {
Updated,
NotModified,
FreshCache,
StaleCache,
Retained,
Failed,
}Expand description
Result for an individual subscription source.
Variants§
Updated
A new successful HTTP response replaced the source’s nodes.
NotModified
HTTP 304 confirmed the existing nodes; no body download was needed.
FreshCache
Startup used a fresh disk cache without contacting the source.
StaleCache
A failed fetch fell back to a still-allowed disk cache.
Retained
A failed fetch retained the source’s running in-memory nodes.
Failed
No source data could be loaded.
Trait Implementations§
Source§impl Clone for SourceOutcome
impl Clone for SourceOutcome
Source§fn clone(&self) -> SourceOutcome
fn clone(&self) -> SourceOutcome
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 moreimpl Copy for SourceOutcome
Source§impl Debug for SourceOutcome
impl Debug for SourceOutcome
impl Eq for SourceOutcome
Source§impl PartialEq for SourceOutcome
impl PartialEq for SourceOutcome
impl StructuralPartialEq for SourceOutcome
Auto Trait Implementations§
impl Freeze for SourceOutcome
impl RefUnwindSafe for SourceOutcome
impl Send for SourceOutcome
impl Sync for SourceOutcome
impl Unpin for SourceOutcome
impl UnsafeUnpin for SourceOutcome
impl UnwindSafe for SourceOutcome
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