pub struct AcpFrontendConnectOptions {
pub launch: RuntimeLaunch,
pub cwd: Option<PathBuf>,
pub session_id: Option<String>,
pub after_sequence: Option<u64>,
}Expand description
Connection parameters for one ACP frontend attachment.
Fields§
§launch: RuntimeLaunchCommand that exposes an already-running runtime as ACP over stdio.
A typical value is supercode acp --connect <url> plus its token.
cwd: Option<PathBuf>Working directory for the bridge process.
session_id: Option<String>Stable session to resume. When absent, ACP discovery opens the single runtime represented by the endpoint and adopts the returned id.
after_sequence: Option<u64>Last canonical event fully processed by an earlier client instance.
Trait Implementations§
Source§impl Clone for AcpFrontendConnectOptions
impl Clone for AcpFrontendConnectOptions
Source§fn clone(&self) -> AcpFrontendConnectOptions
fn clone(&self) -> AcpFrontendConnectOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AcpFrontendConnectOptions
impl RefUnwindSafe for AcpFrontendConnectOptions
impl Send for AcpFrontendConnectOptions
impl Sync for AcpFrontendConnectOptions
impl Unpin for AcpFrontendConnectOptions
impl UnsafeUnpin for AcpFrontendConnectOptions
impl UnwindSafe for AcpFrontendConnectOptions
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