Enum screeps_api::websocket::parsing::ParseError
[−]
[src]
pub enum ParseError { Other(String), Serde { error_desc: &'static str, full_string: String, err: Error, }, // some variants omitted }
A SockJS parse error occurred. TODO: more detailed info.
Variants
Other(String)
Some error occurred.
Serde
Serde json error
Fields of Serde
error_desc: &'static str | Error description |
full_string: String | Full string being parsed. |
err: Error | Inner error |
Methods
impl ParseError
[src]
fn serde(desc: &'static str, string: String, error: Error) -> Self
[src]
Creates a serde parse error.
Trait Implementations
impl Debug for ParseError
[src]
impl Display for ParseError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more