[−][src]Trait leaves::dao::LeafDao
Required methods
#[must_use]fn leaves<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
get all leaves
#[must_use]fn leaf<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
get a leaf by tag
#[must_use]fn insert<'life0, 'async_trait>(
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
create a new leaf
#[must_use]fn tags<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
get all tags
#[must_use]fn update_max<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
update max_id
in database
#[must_use]fn update_max_by_step<'life0, 'async_trait>(
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
update max_id
in database by specified step
Implementors
impl LeafDao for MockLeafDao
[src]
fn leaves<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn leaf<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn insert<'life0, 'async_trait>(
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tags<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max_by_step<'life0, 'async_trait>(
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl LeafDao for MongoLeafDao
[src]
fn leaves<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn leaf<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn insert<'life0, 'async_trait>(
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tags<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max_by_step<'life0, 'async_trait>(
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl LeafDao for MySqlLeafDao
[src]
fn leaves<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn leaf<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn insert<'life0, 'async_trait>(
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tags<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max_by_step<'life0, 'async_trait>(
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl LeafDao for PgLeafDao
[src]
fn leaves<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn leaf<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn insert<'life0, 'async_trait>(
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tags<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max_by_step<'life0, 'async_trait>(
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl LeafDao for RedisDao
[src]
fn leaves<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn leaf<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn insert<'life0, 'async_trait>(
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tags<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max_by_step<'life0, 'async_trait>(
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl LeafDao for SqliteLeafDao
[src]
fn leaves<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Leaf>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn leaf<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn insert<'life0, 'async_trait>(
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
leaf: Leaf
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tags<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<i32>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max<'life0, 'async_trait>(
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_max_by_step<'life0, 'async_trait>(
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tag: i32,
step: i32
) -> Pin<Box<dyn Future<Output = Result<Leaf>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,