pub struct RpcOptions {
pub ui_dialog: UiDialogMailbox,
pub oauth_snapshot: Option<Arc<RegistrySnapshot>>,
pub extension_session: Option<ExtensionSessionCell>,
pub message_updates: RpcMessageUpdates,
pub native_durable: bool,
pub home: AgentHome,
}Expand description
Runtime integrations and policy shared by the stdio and test RPC loops.
Fields§
§ui_dialog: UiDialogMailbox§oauth_snapshot: Option<Arc<RegistrySnapshot>>§extension_session: Option<ExtensionSessionCell>§message_updates: RpcMessageUpdates§native_durable: bool§home: AgentHomeAuto Trait Implementations§
impl Forget for RpcOptions
impl Freeze for RpcOptionswhere
*const ArcInner<Mutex<UiDialogState>> is !null: Freeze,
PhantomData<ArcInner<Mutex<UiDialogState>>>: Freeze,
*const ArcInner<RegistrySnapshot> is !null: Freeze,
PhantomData<ArcInner<RegistrySnapshot>>: Freeze,
*const ArcInner<Mutex<ExtensionSession>> is !null: Freeze,
PhantomData<ArcInner<Mutex<ExtensionSession>>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for RpcOptions
impl RefUnwindSafe for RpcOptionswhere
Atomic<usize>: RefUnwindSafe,
Mutex<UiDialogState>: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
Mutex<ExtensionSession>: RefUnwindSafe,
impl Send for RpcOptions
impl Sync for RpcOptions
impl Unpin for RpcOptions
impl UnsafeUnpin for RpcOptionswhere
*const ArcInner<Mutex<UiDialogState>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<UiDialogState>>>: UnsafeUnpin,
*const ArcInner<RegistrySnapshot> is !null: UnsafeUnpin,
PhantomData<ArcInner<RegistrySnapshot>>: UnsafeUnpin,
*const ArcInner<Mutex<ExtensionSession>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<ExtensionSession>>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for RpcOptionswhere
Arc<Mutex<UiDialogState>>: UnwindSafe,
Arc<RegistrySnapshot>: UnwindSafe,
Arc<Mutex<ExtensionSession>>: UnwindSafe,
RawVecInner: UnwindSafe,
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