Enum ezomyte::ParseLeagueError
[−]
[src]
pub enum ParseLeagueError { Empty, Malformed, }
Error while converting a string league name to League
type.
Variants
Empty
Error for when the league name is empty.
Malformed
Error for when the league name is malformed.
Trait Implementations
impl Clone for ParseLeagueError
[src]
fn clone(&self) -> ParseLeagueError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ParseLeagueError
[src]
impl Debug for ParseLeagueError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for ParseLeagueError
[src]
impl PartialEq for ParseLeagueError
[src]
fn eq(&self, __arg_0: &ParseLeagueError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Error for ParseLeagueError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more