fence 0.0.2

A rate limiter for threaded programs.
Documentation
  • Coverage
  • 66.67%
    4 out of 6 items documented0 out of 5 items with examples
  • Size
  • Source code size: 14.42 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.26 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • bhickey

fence

A simple rate limiter.

Examples

let mut f = Fence::from_secs(1);

loop {
  // Something expensive
  f.sleep();
}