pub struct RedbDatabase { /* private fields */ }Expand description
A redb database.
Implementations§
Source§impl RedbDatabase
impl RedbDatabase
Sourcepub fn new(path: &Path) -> Result<Self, DatabaseError>
pub fn new(path: &Path) -> Result<Self, DatabaseError>
Creates a database.
Auto Trait Implementations§
impl !RefUnwindSafe for RedbDatabase
impl !UnwindSafe for RedbDatabase
impl Freeze for RedbDatabase
impl Send for RedbDatabase
impl Sync for RedbDatabase
impl Unpin for RedbDatabase
impl UnsafeUnpin for RedbDatabase
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