pub enum UiConnectionState {
Connected,
Offline,
Degraded,
Closed,
}Expand description
Transport-link state, distinct from application or peer health.
Variants§
Connected
The bridge can serve authorized operations.
Offline
The selected transport is not reachable.
Degraded
The bridge is reachable but its owning infrastructure is degraded.
Closed
The surface has been closed and must be recreated explicitly.
Trait Implementations§
Source§impl Clone for UiConnectionState
impl Clone for UiConnectionState
impl Copy for UiConnectionState
Source§impl Debug for UiConnectionState
impl Debug for UiConnectionState
Source§impl<'de> Deserialize<'de> for UiConnectionState
impl<'de> Deserialize<'de> for UiConnectionState
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
impl Eq for UiConnectionState
Source§impl PartialEq for UiConnectionState
impl PartialEq for UiConnectionState
Source§impl Serialize for UiConnectionState
impl Serialize for UiConnectionState
impl StructuralPartialEq for UiConnectionState
Auto Trait Implementations§
impl Freeze for UiConnectionState
impl RefUnwindSafe for UiConnectionState
impl Send for UiConnectionState
impl Sync for UiConnectionState
impl Unpin for UiConnectionState
impl UnsafeUnpin for UiConnectionState
impl UnwindSafe for UiConnectionState
Blanket Implementations§
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