#[repr(u8)]pub enum ClientStatus {
Connecting,
Connected(ConnectionType),
Stalled,
Disconnected(DisconnectionType),
}Expand description
Represents the current status of the LightstreamerClient.
Variants§
Connecting
The client is attempting to connect to the Lightstreamer Server.
Connected(ConnectionType)
The client has successfully connected to the Lightstreamer Server. Contains the type of connection established.
Stalled
The connection has been temporarily interrupted. The client will automatically try to recover the connection.
Disconnected(DisconnectionType)
The client is disconnected from the Lightstreamer Server. Contains information about the disconnection type.
Trait Implementations§
Source§impl Clone for ClientStatus
impl Clone for ClientStatus
Source§fn clone(&self) -> ClientStatus
fn clone(&self) -> ClientStatus
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 ClientStatus
impl Debug for ClientStatus
Source§impl Display for ClientStatus
impl Display for ClientStatus
impl Eq for ClientStatus
Source§impl PartialEq for ClientStatus
impl PartialEq for ClientStatus
Source§fn eq(&self, other: &ClientStatus) -> bool
fn eq(&self, other: &ClientStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientStatus
Auto Trait Implementations§
impl Freeze for ClientStatus
impl RefUnwindSafe for ClientStatus
impl Send for ClientStatus
impl Sync for ClientStatus
impl Unpin for ClientStatus
impl UnsafeUnpin for ClientStatus
impl UnwindSafe for ClientStatus
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