Struct capnp::private::arena::ReadLimiter [] [src]

pub struct ReadLimiter {
    pub limit: Cell<u64>,
}

Fields

limit

Methods

impl ReadLimiter

fn new(limit: u64) -> ReadLimiter

fn can_read(&self, amount: u64) -> bool