pub enum ShellEvent {
Reconnecting {
attempt: u32,
delay: Duration,
},
Reconnected,
Closed {
exit_code: Option<i32>,
},
Error(String),
}Expand description
Lifecycle events emitted on the session’s event stream.
Variants§
Trait Implementations§
Source§impl Clone for ShellEvent
impl Clone for ShellEvent
Source§fn clone(&self) -> ShellEvent
fn clone(&self) -> ShellEvent
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 moreAuto Trait Implementations§
impl Freeze for ShellEvent
impl RefUnwindSafe for ShellEvent
impl Send for ShellEvent
impl Sync for ShellEvent
impl Unpin for ShellEvent
impl UnsafeUnpin for ShellEvent
impl UnwindSafe for ShellEvent
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