pub struct Consumers(/* private fields */);Expand description
A struct that holds consumers, i.e. callbacks that are executed when producers execute.
This is used by the signaling mechanism.
Implementations§
Trait Implementations§
impl Send for Consumers
Safe because Javascript is single-threaded.
impl Sync for Consumers
Safe because Javascript is single-threaded.
Auto Trait Implementations§
impl Freeze for Consumers
impl !RefUnwindSafe for Consumers
impl Unpin for Consumers
impl !UnwindSafe for Consumers
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