pub enum IdentifierValidationError {
Reserved(ReservedToken),
Invalid(String),
}
Variants§
Reserved(ReservedToken)
Invalid(String)
Trait Implementations§
source§impl Clone for IdentifierValidationError
impl Clone for IdentifierValidationError
source§fn clone(&self) -> IdentifierValidationError
fn clone(&self) -> IdentifierValidationError
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 IdentifierValidationError
impl Debug for IdentifierValidationError
source§impl Display for IdentifierValidationError
impl Display for IdentifierValidationError
source§impl Error for IdentifierValidationError
impl Error for IdentifierValidationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<IdentifierValidationError> for GateError
impl From<IdentifierValidationError> for GateError
source§fn from(source: IdentifierValidationError) -> Self
fn from(source: IdentifierValidationError) -> Self
Converts to this type from the input type.
source§impl PartialEq<IdentifierValidationError> for IdentifierValidationError
impl PartialEq<IdentifierValidationError> for IdentifierValidationError
source§fn eq(&self, other: &IdentifierValidationError) -> bool
fn eq(&self, other: &IdentifierValidationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IdentifierValidationError
impl StructuralEq for IdentifierValidationError
impl StructuralPartialEq for IdentifierValidationError
Auto Trait Implementations§
impl RefUnwindSafe for IdentifierValidationError
impl Send for IdentifierValidationError
impl Sync for IdentifierValidationError
impl Unpin for IdentifierValidationError
impl UnwindSafe for IdentifierValidationError
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.