Struct libsql::replication::SnapshotFile
source · pub struct SnapshotFile { /* private fields */ }Available on crate feature
replication only.Implementations§
source§impl SnapshotFile
impl SnapshotFile
pub async fn open( path: impl AsRef<Path>, encryptor: Option<FrameEncryptor>, ) -> Result<SnapshotFile, Error>
pub fn into_stream_mut(self) -> impl Stream<Item = Result<FrameMut, Error>>
pub fn into_stream_mut_from( self, from: u64, ) -> impl Stream<Item = Result<FrameMut, Error>>
pub fn header(&self) -> &SnapshotFileHeader
Auto Trait Implementations§
impl !Freeze for SnapshotFile
impl !RefUnwindSafe for SnapshotFile
impl Send for SnapshotFile
impl Sync for SnapshotFile
impl Unpin for SnapshotFile
impl !UnwindSafe for SnapshotFile
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