pub struct Database { /* private fields */ }Implementations§
Source§impl Database
impl Database
pub fn open_file( io: Arc<dyn IO>, path: &str, enable_mvcc: bool, ) -> Result<Arc<Database>>
pub fn open_file_with_flags( io: Arc<dyn IO>, path: &str, flags: OpenFlags, enable_mvcc: bool, ) -> Result<Arc<Database>>
pub fn open( io: Arc<dyn IO>, path: &str, db_file: Arc<dyn DatabaseStorage>, enable_mvcc: bool, ) -> Result<Arc<Database>>
pub fn open_with_flags( io: Arc<dyn IO>, path: &str, db_file: Arc<dyn DatabaseStorage>, flags: OpenFlags, enable_mvcc: bool, ) -> Result<Arc<Database>>
pub fn connect(self: &Arc<Database>) -> Result<Arc<Connection>>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Database
impl !UnwindSafe for Database
impl Freeze for Database
impl Unpin for Database
impl UnsafeUnpin for Database
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