Trait teloxide::requests::RequesterExt[][src]

pub trait RequesterExt: Requester {
    pub fn cache_me(self) -> CacheMe<Self> { ... }
pub fn auto_send(self) -> AutoSend<Self> { ... }
pub fn throttle(self, limits: Limits) -> Throttle<Self>
    where
        Self: 'static
, { ... }
pub fn parse_mode(self, parse_mode: ParseMode) -> DefaultParseMode<Self> { ... } }

Extensions methods for Requester.

Provided methods

pub fn cache_me(self) -> CacheMe<Self>[src]

Add get_me caching ability, see CacheMe for more.

CacheMe:

pub fn auto_send(self) -> AutoSend<Self>[src]

Send requests automatically, see AutoSend for more.

pub fn throttle(self, limits: Limits) -> Throttle<Self> where
    Self: 'static, 
[src]

Add throttling ability, see Throttle for more.

Note: this spawns the worker, just as Throttle::new_spawn.

pub fn parse_mode(self, parse_mode: ParseMode) -> DefaultParseMode<Self>[src]

Loading content...

Implementors

impl<T> RequesterExt for T where
    T: Requester
[src]

Loading content...