pub struct BadOption { /* private fields */ }
Expand description
Error type for OptionsExt::ignore_elective_others()
This currently contains the number that failed; this may be extended to make that optional for
slimmer error processing (in that case, it’ll become a ZST).
It is designed to be usable also with elective options (eg. as the error type of processing
one), but currently has no publicly usable options for doing that.
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.