[][src]Module twitchchat::helpers

Helpers for writing tests

Structs

RateLimit

RateLimit is a simple token bucket-style rate limiter

TeeReader

Mirror all reads from an std::io::Read and writes them to a std::io::Write

TeeWriter

Mirror all writes to a std::io::Write to another std::io::Write

TestStream

TestStream is a thread-safe TcpStream-like type thats usable to mock the Client