pub struct MultiCommandSender { /* private fields */ }Implementations§
Source§impl MultiCommandSender
impl MultiCommandSender
pub fn new() -> Self
pub fn add_sender(&mut self, sender: CommandSender)
pub async fn send_command(&mut self, command: &str) -> Result<()>
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MultiCommandSender
impl !RefUnwindSafe for MultiCommandSender
impl Send for MultiCommandSender
impl Sync for MultiCommandSender
impl Unpin for MultiCommandSender
impl UnsafeUnpin for MultiCommandSender
impl !UnwindSafe for MultiCommandSender
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