Enum typedopts::ErrorType
[−]
[src]
pub enum ErrorType { UnimplementedDecoder, MissingField(String), ExpectedType(String, String, String), GenericError(String), }
Variants
UnimplementedDecoder
MissingField(String)
ExpectedType(String, String, String)
GenericError(String)
Methods
impl ErrorType
[src]
fn to_err_msg(self) -> String
Trait Implementations
impl PartialEq for ErrorType
[src]
fn eq(&self, __arg_0: &ErrorType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ErrorType) -> bool
This method tests for !=
.