Trait cdr::SizeLimit [] [src]

pub trait SizeLimit {
    fn add(&mut self, n: u64) -> Result<()>;
fn limit(&self) -> Option<u64>; }

Limits on the number of bytes that can be read or written.

Required Methods

Implementors