Enum ethereum_forkid::ValidationError
source · [−]pub enum ValidationError {
RemoteStale,
LocalIncompatibleOrStale,
}
Expand description
Reason for rejecting provided ForkId
.
Variants
RemoteStale
Remote node is outdated and needs a software update.
LocalIncompatibleOrStale
Local node is on an incompatible chain or needs a software update.
Trait Implementations
sourceimpl Clone for ValidationError
impl Clone for ValidationError
sourcefn clone(&self) -> ValidationError
fn clone(&self) -> ValidationError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ValidationError
impl Debug for ValidationError
sourceimpl Display for ValidationError
impl Display for ValidationError
sourceimpl Error for ValidationError
impl Error for ValidationError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl Hash for ValidationError
impl Hash for ValidationError
sourceimpl PartialEq<ValidationError> for ValidationError
impl PartialEq<ValidationError> for ValidationError
sourcefn eq(&self, other: &ValidationError) -> bool
fn eq(&self, other: &ValidationError) -> bool
impl Copy for ValidationError
impl Eq for ValidationError
impl StructuralEq for ValidationError
impl StructuralPartialEq for ValidationError
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more