//! [`BusFrame`].
#[allow(unused_imports)]usesuper::*;usealloc::vec::Vec;/// Trait for frame types that can be serialized to bytes.
pubtraitBusFrame: Clone {/// Serialize the frame to bytes for MDF storage.
fnto_mdf_bytes(&self)->Vec<u8>;/// Get the frame size in bytes.
fnmdf_size(&self)->usize{self.to_mdf_bytes().len()}}