Files
daqbuffer/crates/items_0/src/container.rs
T
2023-07-10 14:45:25 +02:00

12 lines
207 B
Rust

use crate::Events;
pub trait ByteEstimate {
fn byte_estimate(&self) -> u64;
}
impl ByteEstimate for Box<dyn Events> {
fn byte_estimate(&self) -> u64 {
self.as_ref().byte_estimate()
}
}