Enum email::account::sync::AccountSyncProgressEvent
source · pub enum AccountSyncProgressEvent {
Show 18 variants
BuildFolderPatch,
GetLocalCachedFolders,
GetLocalFolders,
GetRemoteCachedFolders,
GetRemoteFolders,
ApplyFolderPatches(FolderSyncPatches),
ApplyFolderHunk(FolderSyncHunk),
BuildEnvelopePatch(FoldersName),
EnvelopePatchBuilt(FolderName, EmailSyncPatch),
GetLocalCachedEnvelopes,
GetLocalEnvelopes,
GetRemoteCachedEnvelopes,
GetRemoteEnvelopes,
ApplyEnvelopePatches(HashMap<FolderName, EmailSyncPatch>),
ApplyEnvelopeHunk(EmailSyncHunk),
ApplyEnvelopeCachePatch(EmailSyncCachePatch),
ExpungeFolders(FoldersName),
FolderExpunged(FolderName),
}Expand description
The backend synchronization progress event.
Represents all the events that can be triggered during the backend synchronization process.
Variants§
BuildFolderPatch
GetLocalCachedFolders
GetLocalFolders
GetRemoteCachedFolders
GetRemoteFolders
ApplyFolderPatches(FolderSyncPatches)
ApplyFolderHunk(FolderSyncHunk)
BuildEnvelopePatch(FoldersName)
EnvelopePatchBuilt(FolderName, EmailSyncPatch)
GetLocalCachedEnvelopes
GetLocalEnvelopes
GetRemoteCachedEnvelopes
GetRemoteEnvelopes
ApplyEnvelopePatches(HashMap<FolderName, EmailSyncPatch>)
ApplyEnvelopeHunk(EmailSyncHunk)
ApplyEnvelopeCachePatch(EmailSyncCachePatch)
ExpungeFolders(FoldersName)
FolderExpunged(FolderName)
Trait Implementations§
source§impl Clone for AccountSyncProgressEvent
impl Clone for AccountSyncProgressEvent
source§fn clone(&self) -> AccountSyncProgressEvent
fn clone(&self) -> AccountSyncProgressEvent
Returns a copy of the value. Read more
1.0.0 · 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 AccountSyncProgressEvent
impl Debug for AccountSyncProgressEvent
source§impl Display for AccountSyncProgressEvent
impl Display for AccountSyncProgressEvent
source§impl PartialEq for AccountSyncProgressEvent
impl PartialEq for AccountSyncProgressEvent
source§fn eq(&self, other: &AccountSyncProgressEvent) -> bool
fn eq(&self, other: &AccountSyncProgressEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for AccountSyncProgressEvent
impl StructuralEq for AccountSyncProgressEvent
impl StructuralPartialEq for AccountSyncProgressEvent
Auto Trait Implementations§
impl RefUnwindSafe for AccountSyncProgressEvent
impl Send for AccountSyncProgressEvent
impl Sync for AccountSyncProgressEvent
impl Unpin for AccountSyncProgressEvent
impl UnwindSafe for AccountSyncProgressEvent
Blanket Implementations§
§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
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
§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
§impl<T> ConvUtil for T
impl<T> ConvUtil for T
§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
§type Iter<'a> = Once<&'a T>
where
T: 'a
type Iter<'a> = Once<&'a T> where T: 'a
An iterator over the items within this container, by reference.
§fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
Check whether an item is contained within this sequence.
§fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
Convert an item of the sequence into a [
MaybeRef].§impl<Src> TryFrom<Src> for Src
impl<Src> TryFrom<Src> for Src
§impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
§impl<Src> ValueFrom<Src> for Src
impl<Src> ValueFrom<Src> for Src
§fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
Convert the given value into an exactly equivalent representation.
§impl<Src, Dst> ValueInto<Dst> for Srcwhere
Dst: ValueFrom<Src>,
impl<Src, Dst> ValueInto<Dst> for Srcwhere
Dst: ValueFrom<Src>,
§fn value_into(self) -> Result<Dst, <Src as ValueInto<Dst>>::Err>
fn value_into(self) -> Result<Dst, <Src as ValueInto<Dst>>::Err>
Convert the subject into an exactly equivalent representation.