pub struct EnqueueTurnBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> EnqueueTurnBuilder<'a>
impl<'a> EnqueueTurnBuilder<'a>
pub fn id(self, id: impl Into<String>) -> Self
pub fn ingress(self, ingress: TurnInputIngress) -> Self
Sourcepub async fn send(self) -> Result<TurnInputAcceptanceReceipt>
pub async fn send(self) -> Result<TurnInputAcceptanceReceipt>
Persist the input and return stable durable-acceptance identity.
For retryable host requests, supply id again after an
ambiguous transport failure; its source key is the idempotency identity.
Mutable queue lifecycle state is available from
LashSession::pending_turn_inputs.
Trait Implementations§
Source§impl<'a> IntoFuture for EnqueueTurnBuilder<'a>
impl<'a> IntoFuture for EnqueueTurnBuilder<'a>
Source§type Output = Result<TurnInputAcceptanceReceipt, EmbedError>
type Output = Result<TurnInputAcceptanceReceipt, EmbedError>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <EnqueueTurnBuilder<'a> as IntoFuture>::Output> + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = <EnqueueTurnBuilder<'a> as IntoFuture>::Output> + 'a>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for EnqueueTurnBuilder<'a>
impl<'a> !UnwindSafe for EnqueueTurnBuilder<'a>
impl<'a> Freeze for EnqueueTurnBuilder<'a>
impl<'a> Send for EnqueueTurnBuilder<'a>
impl<'a> Sync for EnqueueTurnBuilder<'a>
impl<'a> Unpin for EnqueueTurnBuilder<'a>
impl<'a> UnsafeUnpin for EnqueueTurnBuilder<'a>
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