pub struct DeferredUpdate(/* private fields */);Available on crate feature
rest only.Expand description
Returned by Ctx::defer_update: an acknowledgement whose Background Work will update the
component’s message
Trait Implementations§
Source§impl Debug for DeferredUpdate
impl Debug for DeferredUpdate
Source§impl IntoResponse for DeferredUpdate
impl IntoResponse for DeferredUpdate
Source§fn into_response(self) -> InteractionResponse
fn into_response(self) -> InteractionResponse
The Response; a failure to build it (see
try_into_response)
becomes the error messageSource§fn try_into_response(self) -> Result<InteractionResponse, HandlerError>
fn try_into_response(self) -> Result<InteractionResponse, HandlerError>
The Response, or why it could not be built (a
View whose custom_id
state is too long); what handlers answer withAuto Trait Implementations§
impl Freeze for DeferredUpdate
impl RefUnwindSafe for DeferredUpdate
impl Send for DeferredUpdate
impl Sync for DeferredUpdate
impl Unpin for DeferredUpdate
impl UnsafeUnpin for DeferredUpdate
impl UnwindSafe for DeferredUpdate
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> CommandOutput for Twhere
T: IntoResponse,
impl<T> CommandOutput for Twhere
T: IntoResponse,
Source§fn into_result(self) -> Result<InteractionResponse, HandlerError>
fn into_result(self) -> Result<InteractionResponse, HandlerError>
The Response, or the error to answer with instead