pub struct Inputs {
pub config_dir: PathBuf,
pub explicit_url: Option<String>,
pub url_origin: Option<Origin>,
pub explicit_token: Option<String>,
pub token_origin: Option<Origin>,
pub explicit_session: Option<String>,
pub profile: Option<String>,
pub project_dir: Option<PathBuf>,
pub host_session: Option<String>,
}Fields§
§config_dir: PathBuf§explicit_url: Option<String>--url / BUS_URL.
url_origin: Option<Origin>Where explicit_url came from, when known.
explicit_token: Option<String>--token / BUS_TOKEN.
token_origin: Option<Origin>Where explicit_token came from, when known.
explicit_session: Option<String>--session / BUS_SESSION.
profile: Option<String>--profile / BUS_PROFILE.
project_dir: Option<PathBuf>--project-dir / BUS_PROJECT_DIR; the current directory when
absent.
host_session: Option<String>--host-session / BUS_HOST_SESSION: the id the host gives this
conversation. Two processes of one conversation — the MCP proxy and a
lifecycle hook — derive the same bus session from it without sharing
state, which is what keeps a hook from draining a sibling window’s
messages.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inputs
impl RefUnwindSafe for Inputs
impl Send for Inputs
impl Sync for Inputs
impl Unpin for Inputs
impl UnsafeUnpin for Inputs
impl UnwindSafe for Inputs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more