Trait Sealed
Source pub trait Sealed {
// Required method
fn into_u64(self) -> u64;
}
Expand description
A seal to prevent implementing VarInt on foreign types.
Lossless, guaranteed conversion into a u64.
This is due to internally implementing encoding for u64 alone and usize not implementing
From<u64>.