#[non_exhaustive]pub enum AriConnectionState {
Connecting,
Ready,
Reconnecting,
Terminal {
details: String,
},
Disconnected,
}Expand description
Observable lifecycle of the ARI event WebSocket.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for AriConnectionState
impl Clone for AriConnectionState
Source§fn clone(&self) -> AriConnectionState
fn clone(&self) -> AriConnectionState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AriConnectionState
impl Debug for AriConnectionState
impl Eq for AriConnectionState
Source§impl PartialEq for AriConnectionState
impl PartialEq for AriConnectionState
impl StructuralPartialEq for AriConnectionState
Auto Trait Implementations§
impl Freeze for AriConnectionState
impl RefUnwindSafe for AriConnectionState
impl Send for AriConnectionState
impl Sync for AriConnectionState
impl Unpin for AriConnectionState
impl UnsafeUnpin for AriConnectionState
impl UnwindSafe for AriConnectionState
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