pub struct LibsqlWalManager<IO: Io, S> { /* private fields */ }
Implementations§
Source§impl<FS: Io, S> LibsqlWalManager<FS, S>
impl<FS: Io, S> LibsqlWalManager<FS, S>
pub fn new( registry: Arc<WalRegistry<FS, S>>, namespace_resolver: Arc<dyn NamespaceResolver>, ) -> Self
Trait Implementations§
Source§impl<IO: Io, S> Clone for LibsqlWalManager<IO, S>
impl<IO: Io, S> Clone for LibsqlWalManager<IO, S>
Source§impl<IO: Io, S: Storage<Segment = SealedSegment<IO::File>>> WalManager for LibsqlWalManager<IO, S>
impl<IO: Io, S: Storage<Segment = SealedSegment<IO::File>>> WalManager for LibsqlWalManager<IO, S>
type Wal = LibsqlWal<IO>
fn open( &self, _vfs: &mut Vfs, _file: &mut Sqlite3File, _no_shm_mode: c_int, _max_log_size: i64, db_path: &CStr, ) -> Result<Self::Wal>
fn close( &self, wal: &mut Self::Wal, _db: &mut Sqlite3Db, _sync_flags: c_int, _scratch: Option<&mut [u8]>, ) -> Result<()>
fn destroy_log(&self, _vfs: &mut Vfs, _db_path: &CStr) -> Result<()>
fn log_exists(&self, _vfs: &mut Vfs, _db_path: &CStr) -> Result<bool>
fn destroy(self)where
Self: Sized,
fn wrap<U>(self, wrapper: U) -> WalWrapper<U, Self>
Auto Trait Implementations§
impl<IO, S> Freeze for LibsqlWalManager<IO, S>
impl<IO, S> !RefUnwindSafe for LibsqlWalManager<IO, S>
impl<IO, S> Send for LibsqlWalManager<IO, S>
impl<IO, S> Sync for LibsqlWalManager<IO, S>
impl<IO, S> Unpin for LibsqlWalManager<IO, S>
impl<IO, S> !UnwindSafe for LibsqlWalManager<IO, S>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreCreates a shared type from an unshared type.