pub enum ParseError<SigErr> {
ParsingInt(ParseIntError),
Overflow,
ParsingSigil(SigErr),
}Expand description
The errors that can arise while parsing a string to a posix timestamp
Variants§
ParsingInt(ParseIntError)
An error occurred while trying to parse a presumed integer part of the timestamp
Overflow
The timestamp was out of range
ParsingSigil(SigErr)
Failed parsing sigil
Trait Implementations§
Source§impl<SigErr: Clone> Clone for ParseError<SigErr>
impl<SigErr: Clone> Clone for ParseError<SigErr>
Source§fn clone(&self) -> ParseError<SigErr>
fn clone(&self) -> ParseError<SigErr>
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 moreAuto Trait Implementations§
impl<SigErr> Freeze for ParseError<SigErr>where
SigErr: Freeze,
impl<SigErr> RefUnwindSafe for ParseError<SigErr>where
SigErr: RefUnwindSafe,
impl<SigErr> Send for ParseError<SigErr>where
SigErr: Send,
impl<SigErr> Sync for ParseError<SigErr>where
SigErr: Sync,
impl<SigErr> Unpin for ParseError<SigErr>where
SigErr: Unpin,
impl<SigErr> UnwindSafe for ParseError<SigErr>where
SigErr: UnwindSafe,
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