Enum bspc_rs::errors::ParseError
source · #[non_exhaustive]
pub enum ParseError {
InsufficientData,
InvalidEvent,
ConversionFailed,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Debug for ParseError
impl Debug for ParseError
source§impl Display for ParseError
impl Display for ParseError
source§impl Error for ParseError
impl Error for ParseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for ParseError
impl From<Error> for ParseError
source§fn from(_error: Error) -> ParseError
fn from(_error: Error) -> ParseError
Converts to this type from the input type.
source§impl From<FromUtf8Error> for ParseError
impl From<FromUtf8Error> for ParseError
source§fn from(_error: FromUtf8Error) -> ParseError
fn from(_error: FromUtf8Error) -> ParseError
Converts to this type from the input type.
source§impl From<ParseBoolError> for ParseError
impl From<ParseBoolError> for ParseError
source§fn from(_error: ParseBoolError) -> ParseError
fn from(_error: ParseBoolError) -> ParseError
Converts to this type from the input type.
source§impl From<ParseError> for ParseError
impl From<ParseError> for ParseError
source§fn from(_error: ParseError) -> ParseError
fn from(_error: ParseError) -> ParseError
Converts to this type from the input type.
source§impl From<ParseFloatError> for ParseError
impl From<ParseFloatError> for ParseError
source§fn from(_error: ParseFloatError) -> ParseError
fn from(_error: ParseFloatError) -> ParseError
Converts to this type from the input type.
source§impl From<ParseIntError> for ParseError
impl From<ParseIntError> for ParseError
source§fn from(_error: ParseIntError) -> ParseError
fn from(_error: ParseIntError) -> ParseError
Converts to this type from the input type.