pub enum BridgeCommand {
Prompt {
messages: Vec<String>,
reply: Sender<Result<PromptResult>>,
},
Cancel,
Shutdown,
SetMode {
mode: String,
reply: Sender<Result<()>>,
},
SetConfig {
key: String,
value: String,
reply: Sender<Result<()>>,
},
}Variants§
Auto Trait Implementations§
impl Freeze for BridgeCommand
impl !RefUnwindSafe for BridgeCommand
impl Send for BridgeCommand
impl Sync for BridgeCommand
impl Unpin for BridgeCommand
impl UnsafeUnpin for BridgeCommand
impl !UnwindSafe for BridgeCommand
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