pub trait AddingExt {
// Required methods
fn add_item_with_params<'a, 'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'a str,
title: Option<&'a str>,
tags: Option<&'life1 [&'a str]>,
tweet_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<RecordAdded>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn add_item<'a, 'life0, 'async_trait>(
&'life0 self,
url: &'a str,
) -> Pin<Box<dyn Future<Output = Result<RecordAdded>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}Required Methods§
fn add_item_with_params<'a, 'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'a str,
title: Option<&'a str>,
tags: Option<&'life1 [&'a str]>,
tweet_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<RecordAdded>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
👎Deprecated since 0.3.0:
This function will be removed in next version. Please see the README for migration guidance.
fn add_item<'a, 'life0, 'async_trait>(
&'life0 self,
url: &'a str,
) -> Pin<Box<dyn Future<Output = Result<RecordAdded>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
👎Deprecated since 0.3.0:
This function will be removed in next version. Please see the README for migration guidance.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".