pub enum RecoveryResult {
Recovered {
args: Vec<String>,
},
Cancelled {
resume: String,
},
}Expand description
Result of attempting interactive recovery for missing args.
Variants§
Recovered
Successfully prompted for all missing values; args has the augmented list.
Cancelled
User cancelled mid-prompt; resume is the command to resume with
already-supplied flags.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecoveryResult
impl RefUnwindSafe for RecoveryResult
impl Send for RecoveryResult
impl Sync for RecoveryResult
impl Unpin for RecoveryResult
impl UnsafeUnpin for RecoveryResult
impl UnwindSafe for RecoveryResult
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