Enum phoenix::error::Error
[−]
[src]
pub enum Error { Utf8(FromUtf8Error), JsonDecode(DecoderError), JsonParse(ParserError), JsonEncode(EncoderError), Internal(String), }
Variants
Utf8(FromUtf8Error)
Error decoding websocket text frame Utf8
JsonDecode(DecoderError)
Error decoding Json
JsonParse(ParserError)
Error parsing Json
JsonEncode(EncoderError)
Error encoding Json
Internal(String)
Errors that do not fit under the other types, Internal is for EG channel errors.
Trait Implementations
impl Debug for Error
[src]
impl From<DecoderError> for Error
[src]
fn from(err: DecoderError) -> Error
[src]
Performs the conversion.
impl From<ParserError> for Error
[src]
fn from(err: ParserError) -> Error
[src]
Performs the conversion.
impl From<EncoderError> for Error
[src]
fn from(err: EncoderError) -> Error
[src]
Performs the conversion.
impl From<Error> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(err: FromUtf8Error) -> Error
[src]
Performs the conversion.
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more