pub struct FlowBacklog { /* private fields */ }Implementations§
Source§impl FlowBacklog
impl FlowBacklog
pub fn new(limit: ByteSize) -> Self
pub fn limit(&self) -> ByteSize
pub fn set_waker(&self, waker: impl Fn() + Send + Sync + 'static)
pub fn notify(&self)
pub fn disarm(&self)
pub fn publish(&self, version: CommitVersion, cdc: Option<Arc<Cdc>>)
pub fn pull( &self, cursor: CommitVersion, up_to: CommitVersion, budget: ByteSize, ) -> BacklogPull
pub fn evict_below(&self, version: CommitVersion)
pub fn set_anchor(&self, version: CommitVersion)
Trait Implementations§
Source§impl Clone for FlowBacklog
impl Clone for FlowBacklog
Source§fn clone(&self) -> FlowBacklog
fn clone(&self) -> FlowBacklog
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl MetricsCollector for FlowBacklog
impl MetricsCollector for FlowBacklog
fn collect(&self, out: &mut Vec<MetricsSample>)
Auto Trait Implementations§
impl !RefUnwindSafe for FlowBacklog
impl !UnwindSafe for FlowBacklog
impl Freeze for FlowBacklog
impl Send for FlowBacklog
impl Sync for FlowBacklog
impl Unpin for FlowBacklog
impl UnsafeUnpin for FlowBacklog
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§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more