Enum ockam_api::ConnectionStatus
source · pub enum ConnectionStatus {
Down,
Degraded,
Up,
}
Variants§
Trait Implementations§
source§impl Clone for ConnectionStatus
impl Clone for ConnectionStatus
source§fn clone(&self) -> ConnectionStatus
fn clone(&self) -> ConnectionStatus
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 ConnectionStatus
impl Debug for ConnectionStatus
source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for ConnectionStatus
impl<'bytes, Ctx> Decode<'bytes, Ctx> for ConnectionStatus
source§impl<'de> Deserialize<'de> for ConnectionStatus
impl<'de> Deserialize<'de> for ConnectionStatus
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
source§impl Display for ConnectionStatus
impl Display for ConnectionStatus
source§impl<Ctx> Encode<Ctx> for ConnectionStatus
impl<Ctx> Encode<Ctx> for ConnectionStatus
source§impl PartialEq for ConnectionStatus
impl PartialEq for ConnectionStatus
source§fn eq(&self, other: &ConnectionStatus) -> bool
fn eq(&self, other: &ConnectionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConnectionStatus
impl Serialize for ConnectionStatus
source§impl TryFrom<String> for ConnectionStatus
impl TryFrom<String> for ConnectionStatus
impl Copy for ConnectionStatus
impl Eq for ConnectionStatus
impl StructuralEq for ConnectionStatus
impl StructuralPartialEq for ConnectionStatus
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionStatus
impl Send for ConnectionStatus
impl Sync for ConnectionStatus
impl Unpin for ConnectionStatus
impl UnwindSafe for ConnectionStatus
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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<T> Decodable for Twhere
T: DeserializeOwned,
impl<T> Decodable for Twhere
T: DeserializeOwned,
§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.