pub enum CdrEncodingMaxSize {
Bytes(usize),
Unbounded,
}
Expand description
This type is used to count maximum size of a Key when serialized according to CDR but without field alignment. The purpose is to find out if the (key) type always fits into 16 bytes or not.
Variants§
Trait Implementations§
Source§impl Add for CdrEncodingMaxSize
impl Add for CdrEncodingMaxSize
Source§impl Clone for CdrEncodingMaxSize
impl Clone for CdrEncodingMaxSize
Source§fn clone(&self) -> CdrEncodingMaxSize
fn clone(&self) -> CdrEncodingMaxSize
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CdrEncodingMaxSize
impl Debug for CdrEncodingMaxSize
Source§impl Mul<usize> for CdrEncodingMaxSize
impl Mul<usize> for CdrEncodingMaxSize
Source§impl Ord for CdrEncodingMaxSize
impl Ord for CdrEncodingMaxSize
Source§fn cmp(&self, other: &CdrEncodingMaxSize) -> Ordering
fn cmp(&self, other: &CdrEncodingMaxSize) -> Ordering
1.21.0 · 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 PartialEq for CdrEncodingMaxSize
impl PartialEq for CdrEncodingMaxSize
Source§impl PartialOrd for CdrEncodingMaxSize
impl PartialOrd for CdrEncodingMaxSize
impl Eq for CdrEncodingMaxSize
impl StructuralPartialEq for CdrEncodingMaxSize
Auto Trait Implementations§
impl Freeze for CdrEncodingMaxSize
impl RefUnwindSafe for CdrEncodingMaxSize
impl Send for CdrEncodingMaxSize
impl Sync for CdrEncodingMaxSize
impl Unpin for CdrEncodingMaxSize
impl UnwindSafe for CdrEncodingMaxSize
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