[−][src]Enum grin_chain::types::BlockStatus
Status of an accepted block.
Variants
Block is the "next" block, updating the chain head.
Fields of Next
prev: Tip
Previous block (previous chain head).
Block does not update the chain head and is a fork.
Fields of Fork
Block updates the chain head via a (potentially disruptive) "reorg". Previous block was not our previous chain head.
Fields of Reorg
Implementations
impl BlockStatus
[src]
pub fn is_next(&self) -> bool
[src]
Is this the "next" block?
pub fn is_reorg(&self) -> bool
[src]
Is this block a "reorg"?
Trait Implementations
impl Clone for BlockStatus
[src]
pub fn clone(&self) -> BlockStatus
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BlockStatus
[src]
impl Debug for BlockStatus
[src]
impl PartialEq<BlockStatus> for BlockStatus
[src]
pub fn eq(&self, other: &BlockStatus) -> bool
[src]
pub fn ne(&self, other: &BlockStatus) -> bool
[src]
impl StructuralPartialEq for BlockStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlockStatus
[src]
impl Send for BlockStatus
[src]
impl Sync for BlockStatus
[src]
impl Unpin for BlockStatus
[src]
impl UnwindSafe for BlockStatus
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<'a, T> DefaultFeatures<'a> for T where
T: 'a + Clone + Send + Sync,
T: 'a + Clone + Send + Sync,
pub fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
pub fn self_address_mut(&mut self) -> *mut ()
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
T: 'a + Clone,
pub fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
pub fn self_address_mut(&mut self) -> *mut ()
impl<T> SafeBorrow<T> for T where
T: ?Sized,
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,