pub struct LocalSender<M> { /* private fields */ }Expand description
Sends typed messages to a component’s queued update loop.
Delivery never calls Component::update inline. A send returns false when the component
is retired, the queue is closed, or the bounded local queue is full.
Implementations§
Source§impl<M: 'static> LocalSender<M>
impl<M: 'static> LocalSender<M>
Trait Implementations§
Auto Trait Implementations§
impl<M> !RefUnwindSafe for LocalSender<M>
impl<M> !Send for LocalSender<M>
impl<M> !Sync for LocalSender<M>
impl<M> !UnwindSafe for LocalSender<M>
impl<M> Freeze for LocalSender<M>
impl<M> Unpin for LocalSender<M>
impl<M> UnsafeUnpin for LocalSender<M>
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