pub struct DatabaseBuilder { /* private fields */ }
Available on crate feature
builder
only.Expand description
Builder for databases.
Implementations§
Source§impl DatabaseBuilder
impl DatabaseBuilder
Sourcepub fn new(name: &str) -> Self
pub fn new(name: &str) -> Self
Creates a new instance of DatabaseBuilder
.
Sourcepub fn add_object_store(self, object_store: ObjectStoreBuilder) -> Self
pub fn add_object_store(self, object_store: ObjectStoreBuilder) -> Self
Adds an object store.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DatabaseBuilder
impl RefUnwindSafe for DatabaseBuilder
impl Send for DatabaseBuilder
impl Sync for DatabaseBuilder
impl Unpin for DatabaseBuilder
impl UnwindSafe for DatabaseBuilder
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