pub enum KeyValue {
Read(Val),
Decimal {
negative: bool,
digits: Vec<u8>,
},
Collated(Vec<u8>),
}Expand description
A key’s value as the comparison sees it.
Variants§
Read(Val)
The value as a program reads its item.
Decimal
A zoned or packed key as DFSORT reads a ZD, PD, CLO, CSL or CST field: its sign, and its digit nibbles as they stand.
Collated(Vec<u8>)
Bytes compared unsigned: characters as their positions in the collating sequence, binary as it stands.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyValue
impl RefUnwindSafe for KeyValue
impl Send for KeyValue
impl Sync for KeyValue
impl Unpin for KeyValue
impl UnsafeUnpin for KeyValue
impl UnwindSafe for KeyValue
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