pub struct QueueInputBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> QueueInputBuilder<'a>
impl<'a> QueueInputBuilder<'a>
pub fn id(self, id: impl Into<String>) -> Self
pub fn delivery_policy(self, policy: DeliveryPolicy) -> Self
pub fn slot_policy(self, policy: SlotPolicy) -> Self
pub async fn send(self) -> Result<()>
Trait Implementations§
Source§impl<'a> IntoFuture for QueueInputBuilder<'a>
impl<'a> IntoFuture for QueueInputBuilder<'a>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<(), EmbedError>> + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<(), EmbedError>> + '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 QueueInputBuilder<'a>
impl<'a> !UnwindSafe for QueueInputBuilder<'a>
impl<'a> Freeze for QueueInputBuilder<'a>
impl<'a> Send for QueueInputBuilder<'a>
impl<'a> Sync for QueueInputBuilder<'a>
impl<'a> Unpin for QueueInputBuilder<'a>
impl<'a> UnsafeUnpin for QueueInputBuilder<'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