Enum rustpython_common::format::FormatSpecError
source · pub enum FormatSpecError {
DecimalDigitsTooMany,
PrecisionTooBig,
InvalidFormatSpecifier,
UnspecifiedFormat(char, char),
UnknownFormatCode(char, &'static str),
PrecisionNotAllowed,
NotAllowed(&'static str),
UnableToConvert,
CodeNotInRange,
NotImplemented(char, &'static str),
}
Variants§
DecimalDigitsTooMany
PrecisionTooBig
InvalidFormatSpecifier
UnspecifiedFormat(char, char)
UnknownFormatCode(char, &'static str)
PrecisionNotAllowed
NotAllowed(&'static str)
UnableToConvert
CodeNotInRange
NotImplemented(char, &'static str)
Trait Implementations§
source§impl Debug for FormatSpecError
impl Debug for FormatSpecError
source§impl PartialEq<FormatSpecError> for FormatSpecError
impl PartialEq<FormatSpecError> for FormatSpecError
source§fn eq(&self, other: &FormatSpecError) -> bool
fn eq(&self, other: &FormatSpecError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.