Enum libsql::replication::Frames
source · pub enum Frames {
Vec(Vec<Frame>),
Snapshot(SnapshotFile),
}
Available on crate feature
replication
only.Expand description
A set of rames to be injected via sync_frames
.
Variants§
Vec(Vec<Frame>)
A set of frames, in increasing frame_no.
Snapshot(SnapshotFile)
A stream of snapshot frames. The frames must be in reverse frame_no, and the pages deduplicated. The snapshot is expected to be a single commit unit.
Auto Trait Implementations§
impl !RefUnwindSafe for Frames
impl Send for Frames
impl Sync for Frames
impl Unpin for Frames
impl !UnwindSafe for Frames
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