Struct event_source::EventFnFuture
source · pub struct EventFnFuture<'a, F, T: ForLifetime> { /* private fields */ }Expand description
Future created with EventSource::on
Trait Implementations§
source§impl<'a, F: Debug, T: Debug + ForLifetime> Debug for EventFnFuture<'a, F, T>
impl<'a, F: Debug, T: Debug + ForLifetime> Debug for EventFnFuture<'a, F, T>
source§impl<F, T: ForLifetime> Drop for EventFnFuture<'_, F, T>
impl<F, T: ForLifetime> Drop for EventFnFuture<'_, F, T>
source§impl<'a, T: ForLifetime, F: FnMut(T::Of<'_>, &mut ControlFlow) + Send + Sync> Future for EventFnFuture<'a, F, T>
impl<'a, T: ForLifetime, F: FnMut(T::Of<'_>, &mut ControlFlow) + Send + Sync> Future for EventFnFuture<'a, F, T>
impl<'__pin, 'a, F, T: ForLifetime> Unpin for EventFnFuture<'a, F, T>where __Origin<'__pin, 'a, F, T>: Unpin,
Auto Trait Implementations§
impl<'a, F, T> !RefUnwindSafe for EventFnFuture<'a, F, T>
impl<'a, F, T> Send for EventFnFuture<'a, F, T>where F: Send,
impl<'a, F, T> Sync for EventFnFuture<'a, F, T>where F: Sync,
impl<'a, F, T> !UnwindSafe for EventFnFuture<'a, F, 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
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