Struct FromStrError

struct FromStrError { ... }

Error of parsing an enum value its string representation.

Implementations

impl Clone for FromStrError

fn clone(self: &Self) -> FromStrError

impl Copy for FromStrError

impl Debug for FromStrError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Display for FromStrError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Eq for FromStrError

impl Error for FromStrError

impl Freeze for FromStrError

impl PartialEq for FromStrError

fn eq(self: &Self, other: &FromStrError) -> bool

impl RefUnwindSafe for FromStrError

impl Send for FromStrError

impl StructuralPartialEq for FromStrError

impl Sync for FromStrError

impl Unpin for FromStrError

impl UnsafeUnpin for FromStrError

impl UnwindSafe for FromStrError

impl<T> Any for FromStrError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for FromStrError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for FromStrError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for FromStrError

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for FromStrError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for FromStrError

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> ToString for FromStrError

fn to_string(self: &Self) -> String

impl<T, U> Into for FromStrError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for FromStrError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for FromStrError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>