You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should probably keep in mind that as soon as we bump the minimum rust version to 1.65 or higher (GATs stabilization) we can probably use the following instead:
pubtraitStrategy{/// The context needed to poll the future.typeContext: ?Sized;/// The future returned by the [`Strategy::wait`] method.typeFuture<'a>:Future + 'a;/// Poll the event listener until it is ready.fnpoll<T>(&mutself,event_listener:Pin<&mutEventListener<T>>,context:&mutSelf::Context,) -> Poll<T>;/// Wait for the event listener to become ready.fnwait<'a>(&mutself,evl:Pin<&'amutEventListener>) -> Self::Future<'a>;}
The text was updated successfully, but these errors were encountered:
event-listener-strategy/src/lib.rs
Lines 422 to 438 in 27a14c4
We should probably keep in mind that as soon as we bump the minimum rust version to 1.65 or higher (GATs stabilization) we can probably use the following instead:
The text was updated successfully, but these errors were encountered: