Trait TorrentsApi
Source pub trait TorrentsApi {
// Required method
fn hashes(&self) -> String;
// Provided methods
fn stop<'life0, 'life1, 'async_trait>(
&'life0 self,
api: &'life1 Api,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn start<'life0, 'life1, 'async_trait>(
&'life0 self,
api: &'life1 Api,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn delete<'life0, 'life1, 'async_trait>(
&'life0 self,
api: &'life1 Api,
delete_data: bool,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn recheck<'life0, 'life1, 'async_trait>(
&'life0 self,
api: &'life1 Api,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn set_category<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
api: &'life1 Api,
category: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
fn add_tags<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
api: &'life1 Api,
tags: &'life2 [String],
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
fn remove_tags<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
api: &'life1 Api,
tags: &'life2 [String],
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
fn bottom_priority<'life0, 'life1, 'async_trait>(
&'life0 self,
api: &'life1 Api,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn top_priority<'life0, 'life1, 'async_trait>(
&'life0 self,
api: &'life1 Api,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}