pub struct NonNull;Expand description
Invariant ZST indicating this key does not contain any null bytes.
Allows a null byte to be internally appended to each key, which guarantees the prefix property and does not change the lexicographic ordering of the key.
Trait Implementations§
impl Copy for NonNull
impl Eq for NonNull
Source§impl Ord for NonNull
impl Ord for NonNull
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for NonNull
impl PartialOrd for NonNull
impl StructuralPartialEq for NonNull
Auto Trait Implementations§
impl Freeze for NonNull
impl RefUnwindSafe for NonNull
impl Send for NonNull
impl Sync for NonNull
impl Unpin for NonNull
impl UnsafeUnpin for NonNull
impl UnwindSafe for NonNull
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more