// This file is part of https://github.com/SpringQL/SpringQL which is licensed under MIT OR Apache-2.0. See file LICENSE-MIT or LICENSE-APACHE for full license details.
/// This trait requires estimation on how much heap memory [bytes] used by impl queue.
///
/// Rust does not provide standard way to calculate heap memory size (Box, Vec, for example).
/// Since Memory State Machine uses total memory size of queues, we need to impl this trait by ourselves.
const RAW_POINTER_SIZE: usize = 8;
/// Note: assuming many objects share the same Arc so interior object size is negligible.