pub enum GetChainTipsResultStatus {
Invalid,
HeadersOnly,
ValidHeaders,
ValidFork,
Active,
}
Variants§
Invalid
The branch contains at least one invalid block
HeadersOnly
Not all blocks for this branch are available, but the headers are valid
ValidHeaders
All blocks are available for this branch, but they were never fully validated
ValidFork
This branch is not part of the active chain, but is fully validated
Active
This is the tip of the active main chain, which is certainly valid
Trait Implementations§
source§impl Clone for GetChainTipsResultStatus
impl Clone for GetChainTipsResultStatus
source§fn clone(&self) -> GetChainTipsResultStatus
fn clone(&self) -> GetChainTipsResultStatus
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 GetChainTipsResultStatus
impl Debug for GetChainTipsResultStatus
source§impl<'de> Deserialize<'de> for GetChainTipsResultStatus
impl<'de> Deserialize<'de> for GetChainTipsResultStatus
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GetChainTipsResultStatus
impl PartialEq for GetChainTipsResultStatus
source§fn eq(&self, other: &GetChainTipsResultStatus) -> bool
fn eq(&self, other: &GetChainTipsResultStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetChainTipsResultStatus
impl Serialize for GetChainTipsResultStatus
impl Copy for GetChainTipsResultStatus
impl Eq for GetChainTipsResultStatus
impl StructuralPartialEq for GetChainTipsResultStatus
Auto Trait Implementations§
impl Freeze for GetChainTipsResultStatus
impl RefUnwindSafe for GetChainTipsResultStatus
impl Send for GetChainTipsResultStatus
impl Sync for GetChainTipsResultStatus
impl Unpin for GetChainTipsResultStatus
impl UnwindSafe for GetChainTipsResultStatus
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