s2n-netbench 0.1.1

An efficiency, performance, and correctness analysis tool for transport protocols.
Documentation
---
source: netbench/src/units/rate.rs
expression: "[p(\"42bps\"), p(\"42Bps\"), p(\"42KBps\"), p(\"42Kb / 50ms\"), p(\"42Mb/5ms\")]"
---
[
    Ok(
        Rate {
            bytes: Byte(
                6,
            ),
            period: 1s,
        },
    ),
    Ok(
        Rate {
            bytes: Byte(
                42,
            ),
            period: 1s,
        },
    ),
    Ok(
        Rate {
            bytes: Byte(
                42000,
            ),
            period: 1s,
        },
    ),
    Ok(
        Rate {
            bytes: Byte(
                5250,
            ),
            period: 50ms,
        },
    ),
    Ok(
        Rate {
            bytes: Byte(
                5250000,
            ),
            period: 5ms,
        },
    ),
]