pub enum FromStrErr {
AfUtils(Error),
Fromf64(ParseFloatError),
}
Variants§
AfUtils(Error)
Fromf64(ParseFloatError)
Trait Implementations§
Source§impl Clone for FromStrErr
impl Clone for FromStrErr
Source§fn clone(&self) -> FromStrErr
fn clone(&self) -> FromStrErr
Returns a duplicate 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 FromStrErr
impl Debug for FromStrErr
Source§impl Display for FromStrErr
impl Display for FromStrErr
Source§impl Error for FromStrErr
impl Error for FromStrErr
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<Error> for FromStrErr
impl From<Error> for FromStrErr
Source§impl From<ParseFloatError> for FromStrErr
impl From<ParseFloatError> for FromStrErr
Source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FromStrErr
impl RefUnwindSafe for FromStrErr
impl Send for FromStrErr
impl Sync for FromStrErr
impl Unpin for FromStrErr
impl UnwindSafe for FromStrErr
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more