Trait eventstore::prelude::ToCount [−][src]
Associated Types
Loading content...Required methods
fn to_count(&self) -> usize
[src]
#[must_use]fn select<'async_trait>(
self,
stream: BoxStream<'a, Result<ResolvedEvent>>
) -> Pin<Box<dyn Future<Output = Result<Self::Selection>> + Send + 'async_trait>> where
'a: 'async_trait,
Self: 'async_trait,
[src]
self,
stream: BoxStream<'a, Result<ResolvedEvent>>
) -> Pin<Box<dyn Future<Output = Result<Self::Selection>> + Send + 'async_trait>> where
'a: 'async_trait,
Self: 'async_trait,
Implementations on Foreign Types
impl<'a> ToCount<'a> for usize
[src]
type Selection = BoxStream<'a, Result<ResolvedEvent>>
fn to_count(&self) -> usize
[src]
fn select<'async_trait>(
self,
stream: BoxStream<'a, Result<ResolvedEvent>>
) -> Pin<Box<dyn Future<Output = Result<Self::Selection>> + Send + 'async_trait>> where
'a: 'async_trait,
Self: 'async_trait,
[src]
self,
stream: BoxStream<'a, Result<ResolvedEvent>>
) -> Pin<Box<dyn Future<Output = Result<Self::Selection>> + Send + 'async_trait>> where
'a: 'async_trait,
Self: 'async_trait,
Implementors
impl<'a> ToCount<'a> for All
[src]
type Selection = BoxStream<'a, Result<ResolvedEvent>>
fn to_count(&self) -> usize
[src]
fn select<'async_trait>(
self,
stream: BoxStream<'a, Result<ResolvedEvent>>
) -> Pin<Box<dyn Future<Output = Result<Self::Selection>> + Send + 'async_trait>> where
'a: 'async_trait,
Self: 'async_trait,
[src]
self,
stream: BoxStream<'a, Result<ResolvedEvent>>
) -> Pin<Box<dyn Future<Output = Result<Self::Selection>> + Send + 'async_trait>> where
'a: 'async_trait,
Self: 'async_trait,