Trait cdr::SizeLimit

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

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

Required Methods§

Implementors§