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 OpDepositReceipt
Available on crate feature op
only.
impl InMemorySize for OpDepositReceipt
Available on crate feature
op
only.§impl InMemorySize for OpPooledTransaction
Available on crate feature op
only.
impl InMemorySize for OpPooledTransaction
Available on crate feature
op
only.§impl InMemorySize for OpReceipt
impl InMemorySize for OpReceipt
§impl InMemorySize for OpTransactionSigned
impl InMemorySize for OpTransactionSigned
§impl InMemorySize for OpTxType
impl InMemorySize for OpTxType
§impl InMemorySize for OpTypedTransaction
Available on crate feature op
only.
impl InMemorySize for OpTypedTransaction
Available on crate feature
op
only.