pub struct CommandFactory { /* private fields */ }Implementations§
Source§impl CommandFactory
impl CommandFactory
pub fn collect() -> Self
pub fn init( &self, nd: &NodeData, ) -> impl Future<Output = Result<Option<Box<dyn CommandTrait>>, CommandError>> + 'static
pub fn availables(&self) -> impl Iterator<Item = MatchCommand>
Auto Trait Implementations§
impl Freeze for CommandFactory
impl RefUnwindSafe for CommandFactory
impl Send for CommandFactory
impl Sync for CommandFactory
impl Unpin for CommandFactory
impl UnwindSafe for CommandFactory
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