Struct valence_ident::IdentError
source · pub struct IdentError(pub String);
Expand description
The error type created when an Ident
cannot be parsed from a
string. Contains the string that failed to parse.
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for IdentError
impl Clone for IdentError
source§fn clone(&self) -> IdentError
fn clone(&self) -> IdentError
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 IdentError
impl Debug for IdentError
source§impl Display for IdentError
impl Display for IdentError
source§impl Error for IdentError
impl Error for IdentError
1.30.0 · 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 Hash for IdentError
impl Hash for IdentError
source§impl Ord for IdentError
impl Ord for IdentError
source§fn cmp(&self, other: &IdentError) -> Ordering
fn cmp(&self, other: &IdentError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for IdentError
impl PartialEq for IdentError
source§impl PartialOrd for IdentError
impl PartialOrd for IdentError
impl Eq for IdentError
impl StructuralPartialEq for IdentError
Auto Trait Implementations§
impl Freeze for IdentError
impl RefUnwindSafe for IdentError
impl Send for IdentError
impl Sync for IdentError
impl Unpin for IdentError
impl UnwindSafe for IdentError
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
)