pub struct CrdtSyncService { /* private fields */ }Expand description
CRDT synchronization service.
Implementations§
Source§impl CrdtSyncService
impl CrdtSyncService
Sourcepub fn new(
node_id: NodeId,
crdt_store: Arc<CrdtStore>,
transport: Arc<dyn Transport>,
membership: Arc<dyn Membership>,
config: CrdtSyncConfig,
) -> Self
pub fn new( node_id: NodeId, crdt_store: Arc<CrdtStore>, transport: Arc<dyn Transport>, membership: Arc<dyn Membership>, config: CrdtSyncConfig, ) -> Self
Create a new sync service.
Auto Trait Implementations§
impl Freeze for CrdtSyncService
impl !RefUnwindSafe for CrdtSyncService
impl Send for CrdtSyncService
impl Sync for CrdtSyncService
impl Unpin for CrdtSyncService
impl !UnwindSafe for CrdtSyncService
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> 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