pub enum EnumOptionsError {
EmptyList,
DuplicatedOption(String),
EmptyOption,
}
Available on crate feature
parse
only.Expand description
Parse errors for simple_extensions::EnumOptions.
Variants§
Trait Implementations§
Source§impl Debug for EnumOptionsError
impl Debug for EnumOptionsError
Source§impl Display for EnumOptionsError
impl Display for EnumOptionsError
Source§impl Error for EnumOptionsError
impl Error for EnumOptionsError
1.30.0 · 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 EnumOptionsError
impl PartialEq for EnumOptionsError
impl StructuralPartialEq for EnumOptionsError
Auto Trait Implementations§
impl Freeze for EnumOptionsError
impl RefUnwindSafe for EnumOptionsError
impl Send for EnumOptionsError
impl Sync for EnumOptionsError
impl Unpin for EnumOptionsError
impl UnwindSafe for EnumOptionsError
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