pub struct DurableCommitService { /* private fields */ }Implementations§
Source§impl DurableCommitService
impl DurableCommitService
pub fn new( raft: MaybeLoadingRaft, durable_service: DurableService, ct: CancellationToken, ) -> Self
pub fn spawn(self)
pub async fn run(self) -> Result<()>
Trait Implementations§
Source§impl Clone for DurableCommitService
impl Clone for DurableCommitService
Source§fn clone(&self) -> DurableCommitService
fn clone(&self) -> DurableCommitService
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for DurableCommitService
impl !UnwindSafe for DurableCommitService
impl Freeze for DurableCommitService
impl Send for DurableCommitService
impl Sync for DurableCommitService
impl Unpin for DurableCommitService
impl UnsafeUnpin for DurableCommitService
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