#[non_exhaustive]pub enum Change {
ActorAdded {
root: Option<u64>,
id: usize,
type_name: &'static str,
owner: Owner,
},
ActorRemoved {
root: Option<u64>,
id: usize,
},
ActorHandled {
id: usize,
},
TimerStarted {
id: u64,
},
TimerStopped {
id: u64,
},
Subscriptions {
bus: Bus,
root: Option<u64>,
},
RouterOpened {
root: u64,
},
RouterClosed {
root: u64,
},
}Expand description
Something a tool lists came or went, so what it last read of it is stale. Says what to read again, not what it now reads.
root is the window a registry or a bus belongs to, as RootId::get
numbers it; None for the application’s own, or for one no window owns.
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.
ActorAdded
ActorRemoved
ActorHandled
An actor handled a message, so its state may read differently now.
Where it lives is what Change::ActorAdded said.
TimerStarted
A timer a tool may see started; its id is the one the running timers list it under.
TimerStopped
A timer stopped, or stopped being one a tool may see.
Subscriptions
Something subscribed to a bus, or stopped being.
RouterOpened
A window’s router navigated for the first time.
RouterClosed
Trait Implementations§
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
Blanket Implementations§
impl<M> AllowedSignal<M> for Mwhere
M: 'static,
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