pub struct SyncEngineBuilder<A: Authenticator> { /* private fields */ }Expand description
Builder for SyncEngine.
Implementations§
Source§impl<A: Authenticator> SyncEngineBuilder<A>
impl<A: Authenticator> SyncEngineBuilder<A>
Sourcepub fn object(self, object: ObjectSync) -> Self
pub fn object(self, object: ObjectSync) -> Self
Adds an object sync definition.
Sourcepub const fn reconcile_batch_size(self, reconcile_batch_size: i64) -> Self
pub const fn reconcile_batch_size(self, reconcile_batch_size: i64) -> Self
Sets the number of records scanned per reconciliation pass.
Sourcepub const fn apply_batch_size(self, apply_batch_size: i64) -> Self
pub const fn apply_batch_size(self, apply_batch_size: i64) -> Self
Sets the number of tasks leased for each apply pass.
Sourcepub fn build(self) -> Result<SyncEngine<A>, ForceSyncError>
pub fn build(self) -> Result<SyncEngine<A>, ForceSyncError>
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for SyncEngineBuilder<A>
impl<A> !RefUnwindSafe for SyncEngineBuilder<A>
impl<A> Send for SyncEngineBuilder<A>
impl<A> Sync for SyncEngineBuilder<A>
impl<A> Unpin for SyncEngineBuilder<A>
impl<A> UnsafeUnpin for SyncEngineBuilder<A>
impl<A> !UnwindSafe for SyncEngineBuilder<A>
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> 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