pub enum BackendConnectionStatus {
NotConnected,
Connecting(Instant),
Connected,
}
Variants§
Implementations§
source§impl BackendConnectionStatus
impl BackendConnectionStatus
pub fn is_connecting(&self) -> bool
Trait Implementations§
source§impl Clone for BackendConnectionStatus
impl Clone for BackendConnectionStatus
source§fn clone(&self) -> BackendConnectionStatus
fn clone(&self) -> BackendConnectionStatus
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 BackendConnectionStatus
impl Debug for BackendConnectionStatus
source§impl PartialEq for BackendConnectionStatus
impl PartialEq for BackendConnectionStatus
source§fn eq(&self, other: &BackendConnectionStatus) -> bool
fn eq(&self, other: &BackendConnectionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BackendConnectionStatus
impl Eq for BackendConnectionStatus
impl StructuralPartialEq for BackendConnectionStatus
Auto Trait Implementations§
impl Freeze for BackendConnectionStatus
impl RefUnwindSafe for BackendConnectionStatus
impl Send for BackendConnectionStatus
impl Sync for BackendConnectionStatus
impl Unpin for BackendConnectionStatus
impl UnwindSafe for BackendConnectionStatus
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.