pub enum Keying {
Position,
Relative,
Indexed {
prime: KeySpan,
alternates: Vec<(KeySpan, bool)>,
},
}Expand description
How the records of a file held in memory are keyed. Record numbers and positions are held as eight big-endian bytes, so that they sort.
Variants§
Position
A sequential file opened I-O, by position.
Relative
A relative file, by record number. In the DD an empty slot is a record of no bytes, or of zero bytes only.
Indexed
An indexed file: the prime key, then each alternate key and whether it allows duplicates.
Trait Implementations§
impl Eq for Keying
impl StructuralPartialEq for Keying
Auto Trait Implementations§
impl Freeze for Keying
impl RefUnwindSafe for Keying
impl Send for Keying
impl Sync for Keying
impl Unpin for Keying
impl UnsafeUnpin for Keying
impl UnwindSafe for Keying
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