pub enum Error {
ParseError(ParseError),
GenericError(String),
}Expand description
Possible errors while creating a Contest
Variants§
ParseError(ParseError)
Error while parsing the user inserted date
GenericError(String)
Generic error we want to report to the user as a string
Trait Implementations§
Source§impl From<ParseError> for Error
impl From<ParseError> for Error
Source§fn from(error: ParseError) -> Error
fn from(error: ParseError) -> Error
Returns Error::ParseError
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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