#[non_exhaustive]pub enum ForkError {
Unsupported,
Inactive,
MissingActivation,
}Expand description
Fork selection or activation failure.
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.
Unsupported
The selected fork is not supported by this crate version.
Inactive
The selected fork is not active for the supplied validation context.
MissingActivation
Fork activation data is incomplete.
Implementations§
Trait Implementations§
impl Copy for ForkError
impl Eq for ForkError
impl StructuralPartialEq for ForkError
Auto Trait Implementations§
impl Freeze for ForkError
impl RefUnwindSafe for ForkError
impl Send for ForkError
impl Sync for ForkError
impl Unpin for ForkError
impl UnsafeUnpin for ForkError
impl UnwindSafe for ForkError
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