pub struct DurableResolverSeat {
pub handle: Arc<DurableHandle>,
pub promise_id: PromiseId,
pub token: Zeroizing<[u8; 32]>,
}Expand description
The out-of-band resolver seat carried from parent to child background task (INV-9).
Held exclusively inside the spawned background task; never reachable from the child’s
tool executor or LLM surface. Zeroizing ensures the raw token bytes are wiped on drop.
Fields§
§handle: Arc<DurableHandle>Shared backend handle — cheap clone, used only to call resolve.
promise_id: PromiseIdPromise identifier matching the parent’s program position.
token: Zeroizing<[u8; 32]>The raw 32-byte resolver token (zeroized on drop, never stored).
Auto Trait Implementations§
impl !RefUnwindSafe for DurableResolverSeat
impl !UnwindSafe for DurableResolverSeat
impl Freeze for DurableResolverSeat
impl Send for DurableResolverSeat
impl Sync for DurableResolverSeat
impl Unpin for DurableResolverSeat
impl UnsafeUnpin for DurableResolverSeat
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
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request