#[non_exhaustive]pub enum ExecuteOnFault {
Empty,
Cut,
LineBreak,
Expanded,
OpensScopeVariables,
}Expand description
What the switch does with an execute_on_* application name or argument that keeps it from
reaching the application as written.
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.
Empty
Empty, which names no application.
Cut
Carries a space, a lone colon or a NUL, where the switch cuts the value.
LineBreak
Carries a line break, which no command line holds.
Expanded
Carries an escape or a reference the expansion reads before the application does.
OpensScopeVariables
Opens a block of scope variables, which the application never receives.
Trait Implementations§
Source§impl Clone for ExecuteOnFault
impl Clone for ExecuteOnFault
impl Copy for ExecuteOnFault
Source§impl Debug for ExecuteOnFault
impl Debug for ExecuteOnFault
Source§impl Display for ExecuteOnFault
impl Display for ExecuteOnFault
impl Eq for ExecuteOnFault
Source§impl PartialEq for ExecuteOnFault
impl PartialEq for ExecuteOnFault
impl StructuralPartialEq for ExecuteOnFault
Auto Trait Implementations§
impl Freeze for ExecuteOnFault
impl RefUnwindSafe for ExecuteOnFault
impl Send for ExecuteOnFault
impl Sync for ExecuteOnFault
impl Unpin for ExecuteOnFault
impl UnsafeUnpin for ExecuteOnFault
impl UnwindSafe for ExecuteOnFault
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.