pub enum NotifyInbound {
Expire(NotificationId),
Changed,
}Expand description
What arrives on the notification subsystem’s inbound bus.
Variants§
Expire(NotificationId)
This notification’s timeout elapsed.
Changed
The store changed and the corner needs redrawing.
Carries no payload and its handler does nothing: the send is
the entire point, because InboundBus::send wakes the editor and
the actor’s async_landed arm republishes render state off that
wake. Without it a store mutated from an off-thread producer sat
invisible until the user next pressed a key.
Trait Implementations§
Source§impl Clone for NotifyInbound
impl Clone for NotifyInbound
Source§fn clone(&self) -> NotifyInbound
fn clone(&self) -> NotifyInbound
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 moreimpl Copy for NotifyInbound
Source§impl Debug for NotifyInbound
impl Debug for NotifyInbound
impl Eq for NotifyInbound
Source§impl PartialEq for NotifyInbound
impl PartialEq for NotifyInbound
impl StructuralPartialEq for NotifyInbound
Auto Trait Implementations§
impl Freeze for NotifyInbound
impl RefUnwindSafe for NotifyInbound
impl Send for NotifyInbound
impl Sync for NotifyInbound
impl Unpin for NotifyInbound
impl UnsafeUnpin for NotifyInbound
impl UnwindSafe for NotifyInbound
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.