pub struct CommandHandler(pub for<'a> fn(Context, &'a ArgumentList) -> Pin<Box<dyn Future<Output = ()> + Send>>);Tuple Fields§
§0: for<'a> fn(Context, &'a ArgumentList) -> Pin<Box<dyn Future<Output = ()> + Send>>Trait Implementations§
Source§impl Clone for CommandHandler
impl Clone for CommandHandler
Source§fn clone(&self) -> CommandHandler
fn clone(&self) -> CommandHandler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CommandHandler
impl RefUnwindSafe for CommandHandler
impl Send for CommandHandler
impl Sync for CommandHandler
impl Unpin for CommandHandler
impl UnwindSafe for CommandHandler
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