Struct veilid_core::TableStore
source · pub struct TableStore { /* private fields */ }
Expand description
Veilid Table Storage Database for storing key value pairs persistently and securely across runs
Implementations§
source§impl TableStore
impl TableStore
sourcepub async fn open(
&self,
name: &str,
column_count: u32
) -> VeilidAPIResult<TableDB>
pub async fn open( &self, name: &str, column_count: u32 ) -> VeilidAPIResult<TableDB>
Get or create a TableDB database table. If the column count is greater than an existing TableDB’s column count, the database will be upgraded to add the missing columns
sourcepub async fn delete(&self, name: &str) -> VeilidAPIResult<bool>
pub async fn delete(&self, name: &str) -> VeilidAPIResult<bool>
Delete a TableDB table by name
Trait Implementations§
source§impl Clone for TableStore
impl Clone for TableStore
source§fn clone(&self) -> TableStore
fn clone(&self) -> TableStore
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TableStore
impl !RefUnwindSafe for TableStore
impl Send for TableStore
impl Sync for TableStore
impl Unpin for TableStore
impl !UnwindSafe for TableStore
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