Enum ethcore::error::ImportError
[−]
[src]
pub enum ImportError { AlreadyInChain, AlreadyQueued, KnownBad, }
Import to the block queue result
Variants
AlreadyInChain
Already in the block chain.
AlreadyQueued
Already in the block queue.
KnownBad
Already marked as bad from a previous import (could mean parent is bad).
Trait Implementations
impl Debug for ImportError
[src]
impl Clone for ImportError
[src]
fn clone(&self) -> ImportError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ImportError
[src]
impl PartialEq for ImportError
[src]
fn eq(&self, __arg_0: &ImportError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Display for ImportError
[src]
impl BinaryConvertable for ImportError where ImportError: Copy
fn from_bytes(bytes: &[u8],
_length_stack: &mut VecDeque<usize>)
-> Result<Self, BinaryConvertError>
_length_stack: &mut VecDeque<usize>)
-> Result<Self, BinaryConvertError>
fn to_bytes(&self,
buffer: &mut [u8],
_length_stack: &mut VecDeque<usize>)
-> Result<(), BinaryConvertError>
buffer: &mut [u8],
_length_stack: &mut VecDeque<usize>)
-> Result<(), BinaryConvertError>