pub enum ArgumentsItemError {
InvalidEnumOptions(EnumOptionsError),
EmptyOptionalField(String),
}
Available on crate feature
parse
only.Expand description
Parse errors for simple_extensions::ArgumentsItem.
Variants§
InvalidEnumOptions(EnumOptionsError)
Invalid enumeration options.
EmptyOptionalField(String)
Empty optional field.
Trait Implementations§
Source§impl Debug for ArgumentsItemError
impl Debug for ArgumentsItemError
Source§impl Display for ArgumentsItemError
impl Display for ArgumentsItemError
Source§impl Error for ArgumentsItemError
impl Error for ArgumentsItemError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<EnumOptionsError> for ArgumentsItemError
impl From<EnumOptionsError> for ArgumentsItemError
Source§fn from(source: EnumOptionsError) -> Self
fn from(source: EnumOptionsError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ArgumentsItemError
impl PartialEq for ArgumentsItemError
impl StructuralPartialEq for ArgumentsItemError
Auto Trait Implementations§
impl Freeze for ArgumentsItemError
impl RefUnwindSafe for ArgumentsItemError
impl Send for ArgumentsItemError
impl Sync for ArgumentsItemError
impl Unpin for ArgumentsItemError
impl UnwindSafe for ArgumentsItemError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more