pub enum TerminateOn {
None,
Any,
Start,
Hash,
}Expand description
Specifies the termination condition for a call or event.
Variants§
None
No termination condition.
Any
Terminate on any condition.
Start
Terminate on the ‘*’ key press.
Hash
Terminate on the ‘#’ key press.
Trait Implementations§
Source§impl Clone for TerminateOn
impl Clone for TerminateOn
Source§fn clone(&self) -> TerminateOn
fn clone(&self) -> TerminateOn
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 TerminateOn
impl Debug for TerminateOn
Source§impl Default for TerminateOn
impl Default for TerminateOn
Source§fn default() -> TerminateOn
fn default() -> TerminateOn
Returns the “default value” for a type. Read more
Source§impl PartialEq for TerminateOn
impl PartialEq for TerminateOn
Source§impl Serialize for TerminateOn
impl Serialize for TerminateOn
impl StructuralPartialEq for TerminateOn
Auto Trait Implementations§
impl Freeze for TerminateOn
impl RefUnwindSafe for TerminateOn
impl Send for TerminateOn
impl Sync for TerminateOn
impl Unpin for TerminateOn
impl UnwindSafe for TerminateOn
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