#[non_exhaustive]pub enum ComponentFlow {
Continue,
Done(String),
Cancel,
Ignored,
}Expand description
What a component wants after an event.
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.
Continue
Keep going; the view is rendered again.
Done(String)
Finished, with an answer for the app that mounted it.
Cancel
The user backed out.
Ignored
The event was not for this component: the container it is in may use it (Tab to move focus, a binding of its own).
Trait Implementations§
Source§impl Clone for ComponentFlow
impl Clone for ComponentFlow
Source§impl Debug for ComponentFlow
impl Debug for ComponentFlow
impl Eq for ComponentFlow
Source§impl PartialEq for ComponentFlow
impl PartialEq for ComponentFlow
impl StructuralPartialEq for ComponentFlow
Auto Trait Implementations§
impl Freeze for ComponentFlow
impl RefUnwindSafe for ComponentFlow
impl Send for ComponentFlow
impl Sync for ComponentFlow
impl Unpin for ComponentFlow
impl UnsafeUnpin for ComponentFlow
impl UnwindSafe for ComponentFlow
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.