#[non_exhaustive]pub enum NodeActivationError {
NodeNotReady {
node_id: NodeId,
},
CanonicalSerialization,
}Expand description
Invalid deterministic construction of a ready-node activation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NodeNotReady
The requested node is absent from the checkpoint’s exact ready set.
CanonicalSerialization
The closed activation-input checksum preimage could not be canonicalized.
Trait Implementations§
Source§impl Clone for NodeActivationError
impl Clone for NodeActivationError
Source§impl Debug for NodeActivationError
impl Debug for NodeActivationError
Source§impl Display for NodeActivationError
impl Display for NodeActivationError
impl Eq for NodeActivationError
Source§impl Error for NodeActivationError
impl Error for NodeActivationError
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 PartialEq for NodeActivationError
impl PartialEq for NodeActivationError
impl StructuralPartialEq for NodeActivationError
Auto Trait Implementations§
impl Forget for NodeActivationError
impl Freeze for NodeActivationError
impl Move for NodeActivationError
impl RefUnwindSafe for NodeActivationError
impl Send for NodeActivationError
impl Sync for NodeActivationError
impl Unpin for NodeActivationError
impl UnsafeUnpin for NodeActivationError
impl UnwindSafe for NodeActivationError
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