pub struct ChatActionGuard { /* private fields */ }Expand description
Keeps a chat action alive while it is in scope. Dropping it aborts the background re-sending task.
Trait Implementations§
Source§impl Drop for ChatActionGuard
impl Drop for ChatActionGuard
Auto Trait Implementations§
impl Freeze for ChatActionGuard
impl RefUnwindSafe for ChatActionGuard
impl Send for ChatActionGuard
impl Sync for ChatActionGuard
impl Unpin for ChatActionGuard
impl UnsafeUnpin for ChatActionGuard
impl UnwindSafe for ChatActionGuard
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