pub struct Replicated { /* private fields */ }Available on crate feature
replication only.Implementations§
Source§impl Replicated
impl Replicated
Sourcepub fn frame_no(&self) -> Option<u64>
Available on crate features replication or sync only.
pub fn frame_no(&self) -> Option<u64>
replication or sync only.The currently synced frame number. This can be used to track
where in the log you might be. Beware that this value can be reset to a lower value by the
server in certain situations. Please use frames_synced if you want to track the amount of
work a sync has done.
Sourcepub fn frames_synced(&self) -> usize
Available on crate features replication or sync only.
pub fn frames_synced(&self) -> usize
replication or sync only.The count of frames synced during this call of sync. A frame is a 4kB frame from the
libsql write ahead log.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Replicated
impl RefUnwindSafe for Replicated
impl Send for Replicated
impl Sync for Replicated
impl Unpin for Replicated
impl UnwindSafe for Replicated
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