Derive Eq for ParseError
This commit is contained in:
parent
228c732e2e
commit
db058fffdf
|
@ -21,7 +21,7 @@ pub trait FromResponse: Sized {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Response parse errors.
|
/// Response parse errors.
|
||||||
#[derive(Debug)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
pub enum ParseError {
|
pub enum ParseError {
|
||||||
/// Expected response to be of type.
|
/// Expected response to be of type.
|
||||||
ExpectedType(&'static str),
|
ExpectedType(&'static str),
|
||||||
|
|
Loading…
Reference in New Issue