pub trait RemoteClient {
    // Required methods
    fn delete<'life0, 'async_trait>(
        &'life0 mut self,
        calendar_id: String,
        event_id: String
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_recurrence<'life0, 'async_trait>(
        &'life0 mut self,
        calendar_id: String,
        event_id: String
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn record<'life0, 'async_trait>(
        &'life0 mut self,
        calendar_id: String,
        record: Record
    ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn record_recurrence<'life0, 'async_trait>(
        &'life0 mut self,
        calendar_id: String,
        record: RecurringRecord
    ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list_recurrence<'life0, 'async_trait>(
        &'life0 mut self,
        calendar_id: String
    ) -> Pin<Box<dyn Future<Output = Result<Vec<RecurringRecord>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_recurrence<'life0, 'async_trait>(
        &'life0 mut self,
        calendar_id: String
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list_today<'life0, 'async_trait>(
        &'life0 mut self,
        calendar_id: String,
        include_completed: bool
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Record>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list_all<'life0, 'async_trait>(
        &'life0 mut self,
        calendar_id: String,
        include_completed: bool
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Record>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn events_now<'life0, 'async_trait>(
        &'life0 mut self,
        calendar_id: String,
        last: Duration,
        include_completed: bool
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Record>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn complete_task<'life0, 'async_trait>(
        &'life0 mut self,
        calendar_id: String,
        primary_key: u64
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn delete<'life0, 'async_trait>( &'life0 mut self, calendar_id: String, event_id: String ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn delete_recurrence<'life0, 'async_trait>( &'life0 mut self, calendar_id: String, event_id: String ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn record<'life0, 'async_trait>( &'life0 mut self, calendar_id: String, record: Record ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn record_recurrence<'life0, 'async_trait>( &'life0 mut self, calendar_id: String, record: RecurringRecord ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn list_recurrence<'life0, 'async_trait>( &'life0 mut self, calendar_id: String ) -> Pin<Box<dyn Future<Output = Result<Vec<RecurringRecord>, Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn update_recurrence<'life0, 'async_trait>( &'life0 mut self, calendar_id: String ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn list_today<'life0, 'async_trait>( &'life0 mut self, calendar_id: String, include_completed: bool ) -> Pin<Box<dyn Future<Output = Result<Vec<Record>, Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn list_all<'life0, 'async_trait>( &'life0 mut self, calendar_id: String, include_completed: bool ) -> Pin<Box<dyn Future<Output = Result<Vec<Record>, Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn events_now<'life0, 'async_trait>( &'life0 mut self, calendar_id: String, last: Duration, include_completed: bool ) -> Pin<Box<dyn Future<Output = Result<Vec<Record>, Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn complete_task<'life0, 'async_trait>( &'life0 mut self, calendar_id: String, primary_key: u64 ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§