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
sourceimpl Clone for GetChainTipsResultStatus
impl Clone for GetChainTipsResultStatus
sourcefn clone(&self) -> GetChainTipsResultStatus
fn clone(&self) -> GetChainTipsResultStatus
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 more
sourceimpl Debug for GetChainTipsResultStatus
impl Debug for GetChainTipsResultStatus
sourceimpl<'de> Deserialize<'de> for GetChainTipsResultStatus
impl<'de> Deserialize<'de> for GetChainTipsResultStatus
sourcefn 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
sourceimpl PartialEq<GetChainTipsResultStatus> for GetChainTipsResultStatus
impl PartialEq<GetChainTipsResultStatus> for GetChainTipsResultStatus
sourcefn 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 ==
. Read more
sourceimpl Serialize for GetChainTipsResultStatus
impl Serialize for GetChainTipsResultStatus
impl Copy for GetChainTipsResultStatus
impl Eq for GetChainTipsResultStatus
impl StructuralEq for GetChainTipsResultStatus
impl StructuralPartialEq for GetChainTipsResultStatus
Auto Trait Implementations
impl RefUnwindSafe for GetChainTipsResultStatus
impl Send for GetChainTipsResultStatus
impl Sync for GetChainTipsResultStatus
impl Unpin for GetChainTipsResultStatus
impl UnwindSafe for GetChainTipsResultStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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