pub enum NetworkUpgrade {
Overwinter,
Sapling,
Blossom,
Heartwood,
Canopy,
Nu5,
Nu6,
}
Expand description
An event that occurs at a specified height on the Zcash chain, at which point the consensus rules enforced by the network are altered.
See ZIP 200 for more details.
Variants§
Overwinter
The Overwinter network upgrade.
Sapling
The Sapling network upgrade.
Blossom
The Blossom network upgrade.
Heartwood
The Heartwood network upgrade.
Canopy
The Canopy network upgrade.
Nu5
The Nu5 network upgrade.
Nu6
The Nu6 network upgrade.
Trait Implementations§
Source§impl Clone for NetworkUpgrade
impl Clone for NetworkUpgrade
Source§fn clone(&self) -> NetworkUpgrade
fn clone(&self) -> NetworkUpgrade
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 NetworkUpgrade
impl Debug for NetworkUpgrade
Source§impl Display for NetworkUpgrade
impl Display for NetworkUpgrade
Source§impl DynamicUsage for NetworkUpgrade
impl DynamicUsage for NetworkUpgrade
Source§impl PartialEq for NetworkUpgrade
impl PartialEq for NetworkUpgrade
impl Copy for NetworkUpgrade
impl Eq for NetworkUpgrade
impl StructuralPartialEq for NetworkUpgrade
Auto Trait Implementations§
impl Freeze for NetworkUpgrade
impl RefUnwindSafe for NetworkUpgrade
impl Send for NetworkUpgrade
impl Sync for NetworkUpgrade
impl Unpin for NetworkUpgrade
impl UnwindSafe for NetworkUpgrade
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more