pub struct OptionParseErr;
Expand description
An error encountered while parsing an option or sequence of options.
OptionParseErr
is a simple implementation of OptionParseError
that
doesn’t carry information other than the fact that an error was
encountered.
Trait Implementations§
Source§impl Clone for OptionParseErr
impl Clone for OptionParseErr
Source§fn clone(&self) -> OptionParseErr
fn clone(&self) -> OptionParseErr
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OptionParseErr
impl Debug for OptionParseErr
Source§impl From<Infallible> for OptionParseErr
impl From<Infallible> for OptionParseErr
Source§fn from(err: Never) -> OptionParseErr
fn from(err: Never) -> OptionParseErr
Converts to this type from the input type.
Source§impl OptionParseError for OptionParseErr
impl OptionParseError for OptionParseErr
Source§const SEQUENCE_FORMAT_ERROR: OptionParseErr = OptionParseErr
const SEQUENCE_FORMAT_ERROR: OptionParseErr = OptionParseErr
An error encountered while parsing a sequence of options. Read more
Source§impl PartialEq for OptionParseErr
impl PartialEq for OptionParseErr
impl Copy for OptionParseErr
impl Eq for OptionParseErr
impl StructuralPartialEq for OptionParseErr
Auto Trait Implementations§
impl Freeze for OptionParseErr
impl RefUnwindSafe for OptionParseErr
impl Send for OptionParseErr
impl Sync for OptionParseErr
impl Unpin for OptionParseErr
impl UnwindSafe for OptionParseErr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)