pub trait InMemorySize {
// Required method
fn size(&self) -> usize;
}
Expand description
Trait for calculating a heuristic for the in-memory size of a struct.
Required Methods§
Implementations on Foreign Types§
Source§impl InMemorySize for OpDepositReceipt
Available on crate feature op
only.
impl InMemorySize for OpDepositReceipt
Available on crate feature
op
only.Source§impl InMemorySize for OpPooledTransaction
Available on crate feature op
only.
impl InMemorySize for OpPooledTransaction
Available on crate feature
op
only.Source§impl InMemorySize for OpTypedTransaction
Available on crate feature op
only.
impl InMemorySize for OpTypedTransaction
Available on crate feature
op
only.