Enum embedded_svc::eth::ConnectionStatus
source · [−]pub enum ConnectionStatus {
Disconnected,
Connecting,
Connected(IpStatus),
}Variants
Disconnected
Connecting
Connected(IpStatus)
Trait Implementations
sourceimpl Clone for ConnectionStatus
impl Clone for ConnectionStatus
sourcefn clone(&self) -> ConnectionStatus
fn clone(&self) -> ConnectionStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ConnectionStatus
impl Debug for ConnectionStatus
sourceimpl<'de> Deserialize<'de> for ConnectionStatus
impl<'de> Deserialize<'de> for ConnectionStatus
sourcefn 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
sourceimpl PartialEq<ConnectionStatus> for ConnectionStatus
impl PartialEq<ConnectionStatus> for ConnectionStatus
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ConnectionStatus) -> bool
fn ne(&self, other: &ConnectionStatus) -> bool
This method tests for !=.
sourceimpl Serialize for ConnectionStatus
impl Serialize for ConnectionStatus
sourceimpl TransitionalState<ConnectionStatus> for Status
impl TransitionalState<ConnectionStatus> for Status
fn is_transitional(&self) -> bool
fn is_operating(&self) -> bool
fn get_operating(&self) -> Option<&ConnectionStatus>
sourceimpl TransitionalState<IpStatus> for ConnectionStatus
impl TransitionalState<IpStatus> for ConnectionStatus
fn is_transitional(&self) -> bool
fn is_operating(&self) -> bool
fn get_operating(&self) -> Option<&IpStatus>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more