pub trait FrameSize: Clone + Copy + PartialEq + Eq + PartialOrd + Ord + Debug {
const SIZE: Bytes;
// Provided method
fn frames_needed(bytes: Bytes) -> Bytes { ... }
}
Expand description
This trait is implemented by a number of marker types, one for each size of frame and page. Different size types are defined depending on the target architecture.
Required Associated Constants§
Provided Methods§
fn frames_needed(bytes: Bytes) -> Bytes
Object Safety§
This trait is not object safe.