pub enum Takeover {
Unsupported,
Refused(&'static str),
Supported {
args: &'static [&'static str],
full_args: &'static [&'static str],
},
}Expand description
Whether the owner can take a conversation over in the CLI’s own
interactive terminal (attach). A terminal is offered only where it
asks nothing that SCV’s approval gate decides: keys typed into it must
never answer an approval.
Variants§
Unsupported
No verified interactive mode that resumes a session by its ID.
Refused(&'static str)
Its terminal answers approval prompts that SCV’s gate must decide; the text says which, for the refusal.
Supported
args (with {session} replaced) open the CLI’s interactive UI on
the conversation’s own session, and full_args, its
permissions = "full" switches, turn every approval prompt off. The
takeover is offered only under permissions = "full": with its
prompts on, the CLI asks in its terminal what it relays to SCV’s gate
when SCV runs it.
Trait Implementations§
impl Copy for Takeover
impl Eq for Takeover
impl StructuralPartialEq for Takeover
Auto Trait Implementations§
impl Freeze for Takeover
impl RefUnwindSafe for Takeover
impl Send for Takeover
impl Sync for Takeover
impl Unpin for Takeover
impl UnsafeUnpin for Takeover
impl UnwindSafe for Takeover
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