pub struct AutoFutureQueueConsumer { /* private fields */ }Implementations§
Source§impl AutoFutureQueueConsumer
impl AutoFutureQueueConsumer
pub fn new(continuous_query: Arc<ContinuousQuery>) -> Self
pub fn with_now_override(self, now_override: Arc<AtomicU64>) -> Self
pub async fn recv( &self, timeout: Duration, ) -> Option<Vec<QueryPartEvaluationContext>>
Trait Implementations§
Source§impl FutureQueueConsumer for AutoFutureQueueConsumer
impl FutureQueueConsumer for AutoFutureQueueConsumer
fn on_due<'life0, 'life1, 'async_trait>(
&'life0 self,
future_ref: &'life1 FutureElementRef,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn on_error<'life0, 'life1, 'async_trait>(
&'life0 self,
future_ref: &'life1 FutureElementRef,
error: Box<dyn Error + Send + Sync>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn now(&self) -> u64
Auto Trait Implementations§
impl !Freeze for AutoFutureQueueConsumer
impl !RefUnwindSafe for AutoFutureQueueConsumer
impl Send for AutoFutureQueueConsumer
impl Sync for AutoFutureQueueConsumer
impl Unpin for AutoFutureQueueConsumer
impl !UnwindSafe for AutoFutureQueueConsumer
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