pub struct PagesVfs { /* private fields */ }
Trait Implementations§
Source§impl Vfs for PagesVfs
impl Vfs for PagesVfs
Source§type Handle = Connection
type Handle = Connection
The file returned by Vfs::open.
Source§fn open(&self, db: &str, opts: OpenOptions) -> Result<Self::Handle, Error>
fn open(&self, db: &str, opts: OpenOptions) -> Result<Self::Handle, Error>
Open the database
db
(of type opts.kind
).Source§fn temporary_name(&self) -> String
fn temporary_name(&self) -> String
Generate and return a path for a temporary database.
Source§fn sleep(&self, duration: Duration) -> Duration
fn sleep(&self, duration: Duration) -> Duration
Sleep for
duration
. Return the duration actually slept.Auto Trait Implementations§
impl Freeze for PagesVfs
impl RefUnwindSafe for PagesVfs
impl Send for PagesVfs
impl Sync for PagesVfs
impl Unpin for PagesVfs
impl UnwindSafe for PagesVfs
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