Module adaptors

Source
Expand description

Wrappers altering functionality of a bot.

Bot adaptors are very similar to the Iterator adaptors: they are bots wrapping other bots to alter existing or add new functionality.

Re-exports§

pub use cache_me::CacheMe;cache_me
pub use erased::ErasedRequester;erased
pub use throttle::Throttle;throttle
pub use trace::Trace;trace_adaptor

Modules§

cache_mecache_me
CacheMe bot adaptor which caches GetMe requests.
erasederased
ErasedRequester bot adaptor which allows to erase type of Requester.
throttlethrottle
Throttle bot adaptor which allows automatically throttle when hitting API limits.
tracetrace_adaptor
Trace bot adaptor which traces requests.

Structs§

DefaultParseMode
Default parse mode adaptor, see RequesterExt::parse_mode.