pub enum EtType {
e5(i32),
e6(i64),
e7(i128),
f5(f32),
f6(f64),
}Expand description
Eagle Time type - represents time values as oscillation counts.
Binary format: [e][size][value...]
[e]= Eagle Time marker[size]= 5/6/7 (base36 bit-width digit: 2^5=32, 2^6=64, 2^7=128 bits)[value]= fixed-width big-endian integer
Oscillation counts (canonical):
- Each count = one complete 21cm hydrogen-1 hyperfine transition
- Precision: 704.032 picoseconds per oscillation
- e5 (i32): ±1.5 years range — short intervals, packed structs
- e6 (i64): ±206 years range — standard timestamps (covers 1763–2175)
- e7 (i128): astronomical/geological range — future use
- Positive = after epoch, negative = before epoch
Deprecated float variants (legacy, readers accept, writers must not emit):
- ef5 (f32): ~2 minute effective precision — never use in new code
- ef6 (f64): ~200 nanosecond effective precision — never use in new code
Variants§
e5(i32)
32-bit oscillation count. Wire: e5 + 4 bytes i32 BE.
e6(i64)
64-bit oscillation count. Wire: e6 + 8 bytes i64 BE. Standard form.
e7(i128)
128-bit oscillation count. Wire: e7 + 16 bytes i128 BE.
f5(f32)
👎Deprecated since 0.3.5:
Use EtType::e6 (oscillation count)
Deprecated: seconds as f32. Wire: ef5 + 4 bytes. Use e6 instead.
f6(f64)
👎Deprecated since 0.3.5:
Use EtType::e6 (oscillation count)
Deprecated: seconds as f64. Wire: ef6 + 8 bytes. Use e6 instead.
Trait Implementations§
impl StructuralPartialEq for EtType
Auto Trait Implementations§
impl Freeze for EtType
impl RefUnwindSafe for EtType
impl Send for EtType
impl Sync for EtType
impl Unpin for EtType
impl UnsafeUnpin for EtType
impl UnwindSafe for EtType
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