Struct ethcore_blockchain::ImportRoute
source · [−]pub struct ImportRoute {
pub retracted: Vec<H256>,
pub enacted: Vec<H256>,
pub omitted: Vec<H256>,
}
Expand description
Import route for newly inserted block.
Fields
retracted: Vec<H256>
Blocks that were invalidated by new block.
enacted: Vec<H256>
Blocks that were validated by new block.
omitted: Vec<H256>
Blocks which are neither retracted nor enacted.
Implementations
sourceimpl ImportRoute
impl ImportRoute
Trait Implementations
sourceimpl Clone for ImportRoute
impl Clone for ImportRoute
sourcefn clone(&self) -> ImportRoute
fn clone(&self) -> ImportRoute
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 ImportRoute
impl Debug for ImportRoute
sourceimpl PartialEq<ImportRoute> for ImportRoute
impl PartialEq<ImportRoute> for ImportRoute
sourcefn eq(&self, other: &ImportRoute) -> bool
fn eq(&self, other: &ImportRoute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImportRoute) -> bool
fn ne(&self, other: &ImportRoute) -> bool
This method tests for !=
.
impl StructuralPartialEq for ImportRoute
Auto Trait Implementations
impl RefUnwindSafe for ImportRoute
impl Send for ImportRoute
impl Sync for ImportRoute
impl Unpin for ImportRoute
impl UnwindSafe for ImportRoute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more