Trait InMemorySize
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§
§impl InMemorySize for OpTransaction
impl InMemorySize for OpTransaction
§impl InMemorySize for OpTransactionSigned
impl InMemorySize for OpTransactionSigned
§impl InMemorySize for OpTxType
Available on crate feature op
only.
impl InMemorySize for OpTxType
Available on crate feature
op
only.