pub enum Resume {
Unsupported,
Supported {
start: &'static [&'static str],
subcommand: &'static [&'static str],
options: &'static [&'static str],
positional: &'static [&'static str],
},
}Expand description
How a CLI continues an earlier conversation. {session} in any argument
is replaced by the conversation’s vendor session ID.
Variants§
Unsupported
Every call starts a fresh conversation.
Supported
Trait Implementations§
impl Copy for Resume
impl Eq for Resume
impl StructuralPartialEq for Resume
Auto Trait Implementations§
impl Freeze for Resume
impl RefUnwindSafe for Resume
impl Send for Resume
impl Sync for Resume
impl Unpin for Resume
impl UnsafeUnpin for Resume
impl UnwindSafe for Resume
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