pub enum Then {
Run,
Close,
Fail(Box<dyn Error>),
}
Expand description
The control flow type.
Variants§
Run
Keep running the application.
Close
Close the application.
Fail(Box<dyn Error>)
Exit with an error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Then
impl !RefUnwindSafe for Then
impl !Send for Then
impl !Sync for Then
impl Unpin for Then
impl !UnwindSafe for Then
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