pub struct CommandSender<T> { /* private fields */ }Expand description
Sender half of a command queue.
Cloned to share among multiple producer threads. Each clone references the same underlying crossbeam channel.
Implementations§
Source§impl<T: Send + 'static> CommandSender<T>
impl<T: Send + 'static> CommandSender<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for CommandSender<T>
impl<T> RefUnwindSafe for CommandSender<T>
impl<T> Send for CommandSender<T>where
T: Send,
impl<T> Sync for CommandSender<T>where
T: Send,
impl<T> Unpin for CommandSender<T>
impl<T> UnsafeUnpin for CommandSender<T>
impl<T> UnwindSafe for CommandSender<T>
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