#[non_exhaustive]pub enum ClientEvent {
Status(SessionStatus),
Progress(ConnectionStage),
Record(Box<Record>),
Diagnostic(String),
Reconnecting {
error: String,
delay_seconds: u64,
},
}Expand description
Owned output produced by the native session engine.
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.
Status(SessionStatus)
Periodic health and connection status.
Progress(ConnectionStage)
Completed connection milestone.
Record(Box<Record>)
Decoded communication record.
Diagnostic(String)
Credential-safe operational diagnostic.
Reconnecting
Transient failure followed by a scheduled fresh session.
Trait Implementations§
Source§impl Clone for ClientEvent
impl Clone for ClientEvent
Source§impl Debug for ClientEvent
impl Debug for ClientEvent
Auto Trait Implementations§
impl Forget for ClientEvent
impl Freeze for ClientEvent
impl RefUnwindSafe for ClientEvent
impl Send for ClientEvent
impl Sync for ClientEvent
impl Unpin for ClientEvent
impl UnsafeUnpin for ClientEvent
impl UnwindSafe for ClientEvent
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