[][src]Trait qbittorrent::traits::TorrentData

pub trait TorrentData<T> {
    fn properties<'life0, 'life1, 'async_trait>(
        &'life0 self,
        other: &'life1 T
    ) -> Pin<Box<dyn Future<Output = Result<TorrentProperties, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
fn trackers<'life0, 'life1, 'async_trait>(
        &'life0 self,
        other: &'life1 T
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Tracker>, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
fn contents<'a, 'async_trait>(
        &'a self,
        other: &'a T
    ) -> Pin<Box<dyn Future<Output = Result<Vec<TorrentInfo<'a>>, Error>> + Send + 'async_trait>>
    where
        'a: 'async_trait,
        Self: 'async_trait
; }

Required methods

fn properties<'life0, 'life1, 'async_trait>(
    &'life0 self,
    other: &'life1 T
) -> Pin<Box<dyn Future<Output = Result<TorrentProperties, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

fn trackers<'life0, 'life1, 'async_trait>(
    &'life0 self,
    other: &'life1 T
) -> Pin<Box<dyn Future<Output = Result<Vec<Tracker>, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

fn contents<'a, 'async_trait>(
    &'a self,
    other: &'a T
) -> Pin<Box<dyn Future<Output = Result<Vec<TorrentInfo<'a>>, Error>> + Send + 'async_trait>> where
    'a: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl TorrentData<Api> for Hash[src]

impl TorrentData<Api> for Torrent[src]

impl TorrentData<Torrent> for Api[src]

Loading content...