[][src]Struct nature_db::InstanceDaoImpl

pub struct InstanceDaoImpl;

Implementations

impl InstanceDaoImpl[src]

pub async fn insert<'_>(instance: &'_ Instance) -> Result<usize>[src]

pub async fn get_by_from<'_>(f_para: &'_ IDAndFrom) -> Result<Option<Instance>>[src]

check whether source stored earlier

pub async fn get_by_key(
    key: String,
    spliter: String
) -> Result<Option<Instance>>
[src]

pub async fn get_by_id(f_para: KeyCondition) -> Result<Option<Instance>>[src]

pub async fn delete<'_>(ins: &'_ Instance) -> Result<usize>[src]

pub async fn get_last_target<'_, '_>(
    from: &'_ Instance,
    mission: &'_ mut Mission
) -> Result<Option<Instance>>
[src]

get downstream instance through upstream instance

Trait Implementations

impl KeyRange for InstanceDaoImpl[src]

fn get_by_key_range<'life0, 'life1, 'async_trait>(
    &'life0 self,
    f_para: &'life1 KeyCondition
) -> Pin<Box<dyn Future<Output = Result<Vec<Instance>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

ins_key > and between time range

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,