Trait teloxide::requests::RequesterExt [−][src]
Extensions methods for Requester
.
Provided methods
pub fn cache_me(self) -> CacheMe<Self>
[src]
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]
Self: 'static,
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]
Specifies default ParseMode
, which will be used during all calls to:
Implementors
impl<T> RequesterExt for T where
T: Requester,
[src]
T: Requester,