pub enum StreamControlEvent {
Connected {
session_tracking_id: String,
},
SubscriptionAck {
event_type: String,
payload: Value,
},
Reconnecting {
attempt: usize,
delay_ms: u64,
},
Closed,
Error(String),
}Variants§
Trait Implementations§
Source§impl Clone for StreamControlEvent
impl Clone for StreamControlEvent
Source§fn clone(&self) -> StreamControlEvent
fn clone(&self) -> StreamControlEvent
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 StreamControlEvent
impl RefUnwindSafe for StreamControlEvent
impl Send for StreamControlEvent
impl Sync for StreamControlEvent
impl Unpin for StreamControlEvent
impl UnsafeUnpin for StreamControlEvent
impl UnwindSafe for StreamControlEvent
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