Enum icu_plurals::operands::OperandsError
source · #[non_exhaustive]pub enum OperandsError {
Empty,
Invalid,
}
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 OperandsError
impl Debug for OperandsError
source§impl Display for OperandsError
impl Display for OperandsError
source§impl From<ParseIntError> for OperandsError
impl From<ParseIntError> for OperandsError
source§fn from(_: ParseIntError) -> Self
fn from(_: ParseIntError) -> Self
Converts to this type from the input type.
source§impl PartialEq for OperandsError
impl PartialEq for OperandsError
source§fn eq(&self, other: &OperandsError) -> bool
fn eq(&self, other: &OperandsError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OperandsError
impl StructuralPartialEq for OperandsError
Auto Trait Implementations§
impl Freeze for OperandsError
impl RefUnwindSafe for OperandsError
impl Send for OperandsError
impl Sync for OperandsError
impl Unpin for OperandsError
impl UnwindSafe for OperandsError
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