pub enum ClientEvent {
View {
generation: u64,
},
ResyncRequired {
reason: ResyncReason,
},
Effect {
id: u64,
effect: EffectRequest,
},
Closed {
reason: ShutdownReason,
},
}Expand description
What one applied server message changed.
Variants§
View
The view moved to this generation (snapshot or delta).
ResyncRequired
The client is poisoned; resync before acting again.
Fields
§
reason: ResyncReasonEffect
The backend requests a host effect.
Closed
The backend is exiting.
Fields
§
reason: ShutdownReasonTrait Implementations§
Source§impl Clone for ClientEvent
impl Clone for ClientEvent
Source§impl Debug for ClientEvent
impl Debug for ClientEvent
Source§impl PartialEq for ClientEvent
impl PartialEq for ClientEvent
impl StructuralPartialEq for ClientEvent
Auto Trait Implementations§
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