Struct timely::dataflow::channels::pullers::counter::Counter [−][src]
A wrapper which accounts records pulled past in a shared count map.
Implementations
impl<T: Ord + Clone + 'static, D, P: Pull<Bundle<T, D>>> Counter<T, D, P>
[src]
pub fn next(&mut self) -> Option<&mut Bundle<T, D>>
[src]
Retrieves the next timestamp and batch of data.
impl<T: Ord + Clone + 'static, D, P: Pull<Bundle<T, D>>> Counter<T, D, P>
[src]
pub fn new(pullable: P) -> Self
[src]
Allocates a new Counter
from a boxed puller.
pub fn consumed(&self) -> &Rc<RefCell<ChangeBatch<T>>>
[src]
A references to shared changes in counts, for cloning or draining.
Auto Trait Implementations
impl<T, D, P> !RefUnwindSafe for Counter<T, D, P>
impl<T, D, P> !Send for Counter<T, D, P>
impl<T, D, P> !Sync for Counter<T, D, P>
impl<T, D, P> Unpin for Counter<T, D, P> where
D: Unpin,
P: Unpin,
D: Unpin,
P: Unpin,
impl<T, D, P> !UnwindSafe for Counter<T, D, P>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,