pub enum Propagation {
Propagate,
Halt,
FlushOut,
}Expand description
A return value used by CallbackTable/Callbacks callbacks
to indicate whether to flag dependent signals as stale and optionally also refresh ones not currently subscribed.
Variants§
Propagate
Mark at least directly dependent signals as stale.
The runtime decides whether and when to refresh them.
Halt
Do not mark dependent signals as stale because of this Propagation.
FlushOut
Trait Implementations§
Source§impl Clone for Propagation
impl Clone for Propagation
Source§fn clone(&self) -> Propagation
fn clone(&self) -> Propagation
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 Propagation
Source§impl Debug for Propagation
impl Debug for Propagation
impl Eq for Propagation
Source§impl Ord for Propagation
impl Ord for Propagation
Source§fn cmp(&self, other: &Propagation) -> Ordering
fn cmp(&self, other: &Propagation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Propagation
impl PartialEq for Propagation
Source§fn eq(&self, other: &Propagation) -> bool
fn eq(&self, other: &Propagation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Propagation
impl PartialOrd for Propagation
impl StructuralPartialEq for Propagation
Auto Trait Implementations§
impl Freeze for Propagation
impl RefUnwindSafe for Propagation
impl Send for Propagation
impl Sync for Propagation
impl Unpin for Propagation
impl UnsafeUnpin for Propagation
impl UnwindSafe for Propagation
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