pub struct Shared<T, E> { /* private fields */ }
Expand description
Shared raw data between futures.
Implementations§
Sourcepub fn notify_all<Events: AsRef<[E]>>(&mut self, events: Events)
pub fn notify_all<Events: AsRef<[E]>>(&mut self, events: Events)
Emit all events
on
Trait Implementations§
Auto Trait Implementations§
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