pub struct InMemoryWindowCollector<T> { /* private fields */ }
Trait Implementations§
Source§impl<T> Collect<T, Vec<T>, InMemoryWindowCollectorConfig> for InMemoryWindowCollector<T>
impl<T> Collect<T, Vec<T>, InMemoryWindowCollectorConfig> for InMemoryWindowCollector<T>
fn collect<'life0, 'async_trait>(
&'life0 mut self,
t: T,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn flush<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<T>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_flush_interval(&self) -> Interval
Source§impl<T> ConfigInto<InMemoryWindowCollector<T>> for InMemoryWindowCollectorConfig
impl<T> ConfigInto<InMemoryWindowCollector<T>> for InMemoryWindowCollectorConfig
Source§impl<T> FromConfig<InMemoryWindowCollectorConfig> for InMemoryWindowCollector<T>
impl<T> FromConfig<InMemoryWindowCollectorConfig> for InMemoryWindowCollector<T>
fn from_config<'async_trait>(
config: InMemoryWindowCollectorConfig,
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where
Self: 'async_trait,
Auto Trait Implementations§
impl<T> Freeze for InMemoryWindowCollector<T>
impl<T> RefUnwindSafe for InMemoryWindowCollector<T>where
T: RefUnwindSafe,
impl<T> Send for InMemoryWindowCollector<T>where
T: Send,
impl<T> Sync for InMemoryWindowCollector<T>where
T: Sync,
impl<T> Unpin for InMemoryWindowCollector<T>where
T: Unpin,
impl<T> UnwindSafe for InMemoryWindowCollector<T>where
T: UnwindSafe,
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