pub enum NeodesValueError {
ForbiddenCharacter,
MissingAlphanumericCharacter,
}Expand description
Error returned in cas of an invalid NeoDes value
Variants§
ForbiddenCharacter
A forbidden character was found
MissingAlphanumericCharacter
No character validating the value (such as a digit or a letter) was found
Trait Implementations§
Source§impl Clone for NeodesValueError
impl Clone for NeodesValueError
Source§fn clone(&self) -> NeodesValueError
fn clone(&self) -> NeodesValueError
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 NeodesValueError
impl Debug for NeodesValueError
Source§impl Display for NeodesValueError
impl Display for NeodesValueError
Source§impl Error for NeodesValueError
impl Error for NeodesValueError
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 NeodesValueError
impl Hash for NeodesValueError
Source§impl PartialEq for NeodesValueError
impl PartialEq for NeodesValueError
impl Copy for NeodesValueError
impl Eq for NeodesValueError
impl StructuralPartialEq for NeodesValueError
Auto Trait Implementations§
impl Freeze for NeodesValueError
impl RefUnwindSafe for NeodesValueError
impl Send for NeodesValueError
impl Sync for NeodesValueError
impl Unpin for NeodesValueError
impl UnwindSafe for NeodesValueError
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