pub enum OptionErrorKind {
Parse,
Unsupported,
SparseIndex,
}Expand description
A category of option parsing or mutation failure.
Variants§
Parse
An option value could not be parsed.
Unsupported
An option value had an unsupported representation.
SparseIndex
An indexed option was malformed.
Trait Implementations§
Source§impl Clone for OptionErrorKind
impl Clone for OptionErrorKind
impl Copy for OptionErrorKind
Source§impl Debug for OptionErrorKind
impl Debug for OptionErrorKind
Source§impl Display for OptionErrorKind
impl Display for OptionErrorKind
impl Eq for OptionErrorKind
Source§impl Hash for OptionErrorKind
impl Hash for OptionErrorKind
Source§impl PartialEq for OptionErrorKind
impl PartialEq for OptionErrorKind
impl StructuralPartialEq for OptionErrorKind
Auto Trait Implementations§
impl Freeze for OptionErrorKind
impl RefUnwindSafe for OptionErrorKind
impl Send for OptionErrorKind
impl Sync for OptionErrorKind
impl Unpin for OptionErrorKind
impl UnsafeUnpin for OptionErrorKind
impl UnwindSafe for OptionErrorKind
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