pub struct SqliteStorage { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Debug for SqliteStorage
impl Debug for SqliteStorage
Source§impl Storage for SqliteStorage
impl Storage for SqliteStorage
fn load_board<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 BoardId,
) -> Pin<Box<dyn Future<Output = Result<Board, CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_board<'life0, 'life1, 'async_trait>(
&'life0 self,
board: &'life1 Board,
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_board<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 BoardId,
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_boards<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<BoardId>, CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_task<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
board_id: &'life1 BoardId,
task_id: &'life2 TaskId,
) -> Pin<Box<dyn Future<Output = Result<Task, CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn save_task<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
board_id: &'life1 BoardId,
task: &'life2 Task,
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_task<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
board_id: &'life1 BoardId,
task_id: &'life2 TaskId,
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn query<'life0, 'life1, 'async_trait>(
&'life0 self,
board_id: &'life1 BoardId,
query: Query,
) -> Pin<Box<dyn Future<Output = Result<Vec<Task>, CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn search<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<SearchResult>, CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn search_in_board<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
board_id: &'life1 BoardId,
query: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<SearchResult>, CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_changeset<'life0, 'life1, 'async_trait>(
&'life0 self,
board_id: &'life1 BoardId,
since: Version,
) -> Pin<Box<dyn Future<Output = Result<Changeset, CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn apply_changeset<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
board_id: &'life1 BoardId,
changeset: &'life2 Changeset,
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl !Freeze for SqliteStorage
impl RefUnwindSafe for SqliteStorage
impl Send for SqliteStorage
impl Sync for SqliteStorage
impl Unpin for SqliteStorage
impl UnsafeUnpin for SqliteStorage
impl UnwindSafe for SqliteStorage
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