pub trait PageNo: Ord + Hash + Copy + Unpin + Sync + Send + Default + Debug {
    const SIZE: usize;

    fn new(_: u32) -> Self;
fn as_u32(self) -> u32;
fn to_bytes(&self) -> Vec<u8>;
fn from_bytes(_: &[u8]) -> Self; }

Associated Constants

Total number of bytes.

Required methods

Implementations on Foreign Types

Implementors