Trait fb_api::GraphAPI[][src]

pub trait GraphAPI {
    #[must_use]
    fn me<'life0, 'life1, 'async_trait>(
        &'life0 self,
        token: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<User, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn friends<'life0, 'life1, 'async_trait>(
        &'life0 self,
        token: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<ResponseFriends, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn my_picture<'life0, 'life1, 'async_trait>(
        &'life0 self,
        token: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<ResponsePicture, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]
fn me<'life0, 'life1, 'async_trait>(
    &'life0 self,
    token: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<User, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]
fn friends<'life0, 'life1, 'async_trait>(
    &'life0 self,
    token: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<ResponseFriends, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]
fn my_picture<'life0, 'life1, 'async_trait>(
    &'life0 self,
    token: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<ResponsePicture, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl GraphAPI for FBGraphAPI[src]

Loading content...