pub struct MemberTurnHandle { /* private fields */ }Expand description
Completion-bearing handle for an admitted member turn.
The receipt proves canonical mob admission. Self::wait resolves only
after the runtime’s completion boundary commits, and returns an error when
execution fails after admission.
Implementations§
Source§impl MemberTurnHandle
impl MemberTurnHandle
pub fn receipt(&self) -> &MemberDeliveryReceipt
Sourcepub fn session_id(&self) -> Option<&SessionId>
pub fn session_id(&self) -> Option<&SessionId>
Bridge session admitted for this exact member runtime binding.
Sourcepub async fn wait_for_applied_llm_identity(
&mut self,
) -> Result<Option<SessionLlmIdentity>, MobError>
pub async fn wait_for_applied_llm_identity( &mut self, ) -> Result<Option<SessionLlmIdentity>, MobError>
Wait until the exact serialized executor boundary has either applied this turn’s requested LLM identity or determined that the turn carries no identity override.
Ok(Some(identity)) is authoritative applied live identity and remains
valid even if the later agent turn or its finalization fails. Backing
services that persist reconfiguration also make it durable; ephemeral
or custom hosts need not. Ok(None) means this turn did not request an
identity change. This is deliberately distinct from both ingress
admission and Self::wait terminal completion.
pub async fn wait(self) -> Result<MemberDeliveryReceipt, MobError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MemberTurnHandle
impl !UnwindSafe for MemberTurnHandle
impl Freeze for MemberTurnHandle
impl Send for MemberTurnHandle
impl Sync for MemberTurnHandle
impl Unpin for MemberTurnHandle
impl UnsafeUnpin for MemberTurnHandle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
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> ⓘ
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> ⓘ
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