struct TimestampParser {
digits: [u8; 32],
mask: u32,
}
Expand description
Helper for parsing RFC3339 timestamps
Fields§
§digits: [u8; 32]
The timestamp bytes to parse minus b'0'
This makes interpretation as an integer inexpensive
mask: u32
A mask containing a 1
bit where the corresponding byte is a valid ASCII digit
Implementations§
Auto Trait Implementations§
impl Freeze for TimestampParser
impl RefUnwindSafe for TimestampParser
impl Send for TimestampParser
impl Sync for TimestampParser
impl Unpin for TimestampParser
impl UnwindSafe for TimestampParser
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