Enum lib_ruby_parser::source::InputError [−][src]
Expand description
An enum with all possible kinds of errors that can be returned from a decoder
Variants
UnsupportedEncoding(String)
Emitted when no custom decoder provided but input has custom encoding.
You can return this error from your custom decoder if you don’t support given encoding.
Tuple Fields of UnsupportedEncoding
0: String
DecodingError(String)
Generic error that can be emitted from a custom decoder
Tuple Fields of DecodingError
0: String
Implementations
Constructs UnupportedEncoding variant
Constructs DecodingError variant
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InputError
impl Send for InputError
impl Sync for InputError
impl Unpin for InputError
impl UnwindSafe for InputError
Blanket Implementations
Mutably borrows from an owned value. Read more