pub enum DisconnectionType {
WillRetry,
TryingRecovery,
}
Expand description
Represents the type of disconnection that occurred with the Lightstreamer Server.
This enum provides information about the disconnection state and what actions the client will take following the disconnection.
Variants§
WillRetry
The client will automatically try to reconnect to the server.
TryingRecovery
The client is attempting to recover the previous session. This happens when a temporary disconnection is detected and the client is trying to restore the previous session without losing subscriptions.
Auto Trait Implementations§
impl Freeze for DisconnectionType
impl RefUnwindSafe for DisconnectionType
impl Send for DisconnectionType
impl Sync for DisconnectionType
impl Unpin for DisconnectionType
impl UnwindSafe for DisconnectionType
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