Enum jrsonnet_evaluator::stdlib::format::FormatError
source · pub enum FormatError {
TruncatedFormatCode,
UnrecognizedConversionType(char),
NotEnoughValues,
CannotUseStarWidthWithObject,
MappingKeysRequired,
NoSuchFormatField(IStr),
}
Variants§
TruncatedFormatCode
UnrecognizedConversionType(char)
NotEnoughValues
CannotUseStarWidthWithObject
MappingKeysRequired
NoSuchFormatField(IStr)
Trait Implementations§
source§impl Clone for FormatError
impl Clone for FormatError
source§fn clone(&self) -> FormatError
fn clone(&self) -> FormatError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FormatError
impl Debug for FormatError
source§impl Display for FormatError
impl Display for FormatError
source§impl Error for FormatError
impl Error for FormatError
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<FormatError> for Error
impl From<FormatError> for Error
source§fn from(e: FormatError) -> Self
fn from(e: FormatError) -> Self
Converts to this type from the input type.
source§impl From<FormatError> for ErrorKind
impl From<FormatError> for ErrorKind
source§fn from(source: FormatError) -> Self
fn from(source: FormatError) -> Self
Converts to this type from the input type.