pub struct CapabilitiesBuilder(/* private fields */);Expand description
Builder for Capabilities.
Implementations§
Source§impl CapabilitiesBuilder
impl CapabilitiesBuilder
Sourcepub fn write_modes(self, modes: impl IntoIterator<Item = WriteMode>) -> Self
pub fn write_modes(self, modes: impl IntoIterator<Item = WriteMode>) -> Self
Set the write modes (deduplicated, canonical order).
Sourcepub fn schema_report(self, report: SchemaReport) -> Self
pub fn schema_report(self, report: SchemaReport) -> Self
Set the schema report.
Sourcepub fn idempotent_writes(self, on: bool) -> Self
pub fn idempotent_writes(self, on: bool) -> Self
Set idempotent_writes.
Sourcepub fn keyed_upsert(self, on: bool) -> Self
pub fn keyed_upsert(self, on: bool) -> Self
Set keyed_upsert.
Sourcepub fn keyed_dedup(self, on: bool) -> Self
pub fn keyed_dedup(self, on: bool) -> Self
Set keyed_dedup.
Sourcepub fn schema_evolution(self, on: bool) -> Self
pub fn schema_evolution(self, on: bool) -> Self
Set schema_evolution.
Sourcepub fn scoped_overwrite(self, on: bool) -> Self
pub fn scoped_overwrite(self, on: bool) -> Self
Set scoped_overwrite.
Sourcepub fn direct_overwrite(self, on: bool) -> Self
pub fn direct_overwrite(self, on: bool) -> Self
Set direct_overwrite.
Sourcepub fn staged_load(self, on: bool) -> Self
pub fn staged_load(self, on: bool) -> Self
Set staged_load.
Sourcepub fn exactly_once(self, on: bool) -> Self
pub fn exactly_once(self, on: bool) -> Self
Set exactly_once.
Sourcepub fn range_read(self, on: bool) -> Self
pub fn range_read(self, on: bool) -> Self
Set range_read.
Sourcepub fn range_digest(self, on: bool) -> Self
pub fn range_digest(self, on: bool) -> Self
Set range_digest.
Sourcepub fn reports_lag(self, on: bool) -> Self
pub fn reports_lag(self, on: bool) -> Self
Set reports_lag.
Sourcepub fn table_routing(self, on: bool) -> Self
pub fn table_routing(self, on: bool) -> Self
Set table_routing.
Sourcepub fn read_side_effects(self, on: bool) -> Self
pub fn read_side_effects(self, on: bool) -> Self
Set read_side_effects.
Sourcepub fn build(self) -> Capabilities
pub fn build(self) -> Capabilities
Finish.
Trait Implementations§
Source§impl Clone for CapabilitiesBuilder
impl Clone for CapabilitiesBuilder
Source§impl Debug for CapabilitiesBuilder
impl Debug for CapabilitiesBuilder
Auto Trait Implementations§
impl Freeze for CapabilitiesBuilder
impl RefUnwindSafe for CapabilitiesBuilder
impl Send for CapabilitiesBuilder
impl Sync for CapabilitiesBuilder
impl Unpin for CapabilitiesBuilder
impl UnsafeUnpin for CapabilitiesBuilder
impl UnwindSafe for CapabilitiesBuilder
Blanket Implementations§
impl<T> Allocation for T
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> 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> 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 moreSource§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