pub enum TokErr {
Mess(String),
NotSet(&'static str),
ParseErr(StrungError),
ParseIntErr,
NoToken,
NegativeTime,
Lines(Vec<LineErr>),
}
Variants§
Mess(String)
NotSet(&'static str)
ParseErr(StrungError)
ParseIntErr
NoToken
NegativeTime
Lines(Vec<LineErr>)
Implementations§
Trait Implementations§
Source§impl Fail for TokErr
impl Fail for TokErr
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreSource§impl From<ParseIntError> for TokErr
impl From<ParseIntError> for TokErr
Source§fn from(_: ParseIntError) -> Self
fn from(_: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<StrungError> for TokErr
impl From<StrungError> for TokErr
Source§fn from(e: StrungError) -> Self
fn from(e: StrungError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for TokErr
Auto Trait Implementations§
impl Freeze for TokErr
impl RefUnwindSafe for TokErr
impl Send for TokErr
impl Sync for TokErr
impl Unpin for TokErr
impl UnwindSafe for TokErr
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