Enum ilp_packet::errors::ParseError [−]
pub enum ParseError { Io(Error), Utf8(Utf8Error), FromUtf8(FromUtf8Error), Chrono(ParseError), WrongType(&'static str), InvalidPacket(&'static str), Other(Box<Error>), }
Variants
Io(Error)
Utf8(Utf8Error)
FromUtf8(FromUtf8Error)
Chrono(ParseError)
WrongType(&'static str)
InvalidPacket(&'static str)
Other(Box<Error>)
Trait Implementations
impl Debug for ParseError
[src]
impl Debug for ParseError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for ParseError
impl Display for ParseError
impl Error for ParseError
impl Error for ParseError
fn description(&self) -> &str
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for ParseError
impl From<Error> for ParseError
fn from(err: Error) -> ParseError
fn from(err: Error) -> ParseError
Performs the conversion.
impl From<Utf8Error> for ParseError
impl From<Utf8Error> for ParseError
fn from(err: Utf8Error) -> ParseError
fn from(err: Utf8Error) -> ParseError
Performs the conversion.
impl From<FromUtf8Error> for ParseError
impl From<FromUtf8Error> for ParseError
fn from(err: FromUtf8Error) -> ParseError
fn from(err: FromUtf8Error) -> ParseError
Performs the conversion.
impl From<ParseError> for ParseError
impl From<ParseError> for ParseError
fn from(err: ParseError) -> ParseError
fn from(err: ParseError) -> ParseError
Performs the conversion.
Auto Trait Implementations
impl !Send for ParseError
impl !Send for ParseError
impl !Sync for ParseError
impl !Sync for ParseError