Struct mz_timely_util::builder_async::AsyncOutputHandle
source · pub struct AsyncOutputHandle<T: Timestamp, CB: ContainerBuilder, P: Push<Bundle<T, CB::Container>> + 'static> {
handle: Rc<RefCell<OutputHandleCore<'static, T, CB, P>>>,
wrapper: Rc<Pin<Box<OutputWrapper<T, CB, P>>>>,
index: usize,
}
Fields§
§handle: Rc<RefCell<OutputHandleCore<'static, T, CB, P>>>
§wrapper: Rc<Pin<Box<OutputWrapper<T, CB, P>>>>
§index: usize
Implementations§
source§impl<T, C, P> AsyncOutputHandle<T, CapacityContainerBuilder<C>, P>
impl<T, C, P> AsyncOutputHandle<T, CapacityContainerBuilder<C>, P>
pub fn give_container(&self, cap: &Capability<T>, container: &mut C)
source§impl<T, CB, P> AsyncOutputHandle<T, CB, P>
impl<T, CB, P> AsyncOutputHandle<T, CB, P>
source§impl<T, C, P> AsyncOutputHandle<T, CapacityContainerBuilder<C>, P>
impl<T, C, P> AsyncOutputHandle<T, CapacityContainerBuilder<C>, P>
pub fn give<D>(&self, cap: &Capability<T>, data: D)where
CapacityContainerBuilder<C>: PushInto<D>,
source§impl<T, D, P> AsyncOutputHandle<T, AccountedStackBuilder<CapacityContainerBuilder<StackWrapper<D>>>, P>
impl<T, D, P> AsyncOutputHandle<T, AccountedStackBuilder<CapacityContainerBuilder<StackWrapper<D>>>, P>
pub const MAX_OUTSTANDING_BYTES: usize = 134_217_728usize
sourcepub async fn give_fueled<D2>(&self, cap: &Capability<T>, data: D2)where
StackWrapper<D>: PushInto<D2>,
pub async fn give_fueled<D2>(&self, cap: &Capability<T>, data: D2)where
StackWrapper<D>: PushInto<D2>,
Provides one record at the time specified by the capability. This method will automatically yield back to timely after Self::MAX_OUTSTANDING_BYTES have been produced.
Trait Implementations§
source§impl<T: Timestamp, CB: ContainerBuilder, P: Push<Bundle<T, CB::Container>> + 'static> Clone for AsyncOutputHandle<T, CB, P>
impl<T: Timestamp, CB: ContainerBuilder, P: Push<Bundle<T, CB::Container>> + 'static> Clone for AsyncOutputHandle<T, CB, P>
source§impl<T: Timestamp, CB: ContainerBuilder> OutputIndex for AsyncOutputHandle<T, CB, Tee<T, CB::Container>>
impl<T: Timestamp, CB: ContainerBuilder> OutputIndex for AsyncOutputHandle<T, CB, Tee<T, CB::Container>>
Auto Trait Implementations§
impl<T, CB, P> Freeze for AsyncOutputHandle<T, CB, P>
impl<T, CB, P> !RefUnwindSafe for AsyncOutputHandle<T, CB, P>
impl<T, CB, P> !Send for AsyncOutputHandle<T, CB, P>
impl<T, CB, P> !Sync for AsyncOutputHandle<T, CB, P>
impl<T, CB, P> Unpin for AsyncOutputHandle<T, CB, P>
impl<T, CB, P> !UnwindSafe for AsyncOutputHandle<T, CB, P>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign
, for types that do not implement AddAssign
.