pub enum MatchOutcome {
Message(PlumbingMessage),
Run(String),
}Expand description
The result of a successful rule match that should be handled by ad.
Variants§
Message(PlumbingMessage)
A message that should be handled by ad
Run(String)
A command that should be run instead of handling the message
Trait Implementations§
Source§impl Clone for MatchOutcome
impl Clone for MatchOutcome
Source§fn clone(&self) -> MatchOutcome
fn clone(&self) -> MatchOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MatchOutcome
impl Debug for MatchOutcome
Source§impl PartialEq for MatchOutcome
impl PartialEq for MatchOutcome
impl Eq for MatchOutcome
impl StructuralPartialEq for MatchOutcome
Auto Trait Implementations§
impl Freeze for MatchOutcome
impl RefUnwindSafe for MatchOutcome
impl Send for MatchOutcome
impl Sync for MatchOutcome
impl Unpin for MatchOutcome
impl UnwindSafe for MatchOutcome
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.