Struct kernel::sync::event_bus::EventBusFuture
source · struct EventBusFuture {
event_bus: Arc<Mutex<EventBus>>,
subscribed_event: Event,
}
Expand description
The EventBusFuture
struct is a future that completes when a specified event is published on
an EventBus.
Fields§
§event_bus: Arc<Mutex<EventBus>>
§subscribed_event: Event
Trait Implementations§
source§impl Future for EventBusFuture
impl Future for EventBusFuture
Auto Trait Implementations§
impl !RefUnwindSafe for EventBusFuture
impl Send for EventBusFuture
impl Sync for EventBusFuture
impl Unpin for EventBusFuture
impl !UnwindSafe for EventBusFuture
Blanket Implementations§
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more