enum DetailedConnectivity {
Error(String),
Uninitialized,
Connecting,
Connected,
Working,
InterruptingIdle,
Idle,
NotConfigured,
}
Variants§
Error(String)
Uninitialized
Connecting
Connected
Connection is just established, but there may be work to do.
Working
There is actual work to do, e.g. there are messages in SMTP queue or we detected a message that should be downloaded.
InterruptingIdle
Idle
Connection is established and is idle.
NotConfigured
The folder was configured not to be watched or configured_*_folder is not set
Implementations§
source§impl DetailedConnectivity
impl DetailedConnectivity
fn to_basic(&self) -> Option<Connectivity>
fn to_icon(&self) -> String
async fn to_string_imap(&self, context: &Context) -> String
async fn to_string_smtp(&self, context: &Context) -> String
fn all_work_done(&self) -> bool
Trait Implementations§
source§impl Clone for DetailedConnectivity
impl Clone for DetailedConnectivity
source§fn clone(&self) -> DetailedConnectivity
fn clone(&self) -> DetailedConnectivity
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 DetailedConnectivity
impl Debug for DetailedConnectivity
source§impl Default for DetailedConnectivity
impl Default for DetailedConnectivity
source§fn default() -> DetailedConnectivity
fn default() -> DetailedConnectivity
Returns the “default value” for a type. Read more
source§impl EnumProperty for DetailedConnectivity
impl EnumProperty for DetailedConnectivity
source§impl PartialEq for DetailedConnectivity
impl PartialEq for DetailedConnectivity
source§fn eq(&self, other: &DetailedConnectivity) -> bool
fn eq(&self, other: &DetailedConnectivity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DetailedConnectivity
impl PartialOrd for DetailedConnectivity
source§fn partial_cmp(&self, other: &DetailedConnectivity) -> Option<Ordering>
fn partial_cmp(&self, other: &DetailedConnectivity) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DetailedConnectivity
impl StructuralPartialEq for DetailedConnectivity
Auto Trait Implementations§
impl RefUnwindSafe for DetailedConnectivity
impl Send for DetailedConnectivity
impl Sync for DetailedConnectivity
impl Unpin for DetailedConnectivity
impl UnwindSafe for DetailedConnectivity
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<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.