pub enum SyncOutcome {
Updated,
NotModified,
Failed {
kind: ErrorKind,
message: String,
},
}Variants§
Updated
New data was fetched and stored.
NotModified
The service reported no change (ETag / Last-Modified hit).
Failed
Trait Implementations§
Source§impl Clone for SyncOutcome
impl Clone for SyncOutcome
Source§fn clone(&self) -> SyncOutcome
fn clone(&self) -> SyncOutcome
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 moreSource§impl Debug for SyncOutcome
impl Debug for SyncOutcome
Source§impl<'de> Deserialize<'de> for SyncOutcome
impl<'de> Deserialize<'de> for SyncOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SyncOutcome
Source§impl PartialEq for SyncOutcome
impl PartialEq for SyncOutcome
Source§impl Serialize for SyncOutcome
impl Serialize for SyncOutcome
impl StructuralPartialEq for SyncOutcome
Auto Trait Implementations§
impl Freeze for SyncOutcome
impl RefUnwindSafe for SyncOutcome
impl Send for SyncOutcome
impl Sync for SyncOutcome
impl Unpin for SyncOutcome
impl UnsafeUnpin for SyncOutcome
impl UnwindSafe for SyncOutcome
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