Struct ethcore_sync::EthProtocolInfo
source · [−]Expand description
Ethereum protocol info.
Fields
version: u32
Protocol version
head: H256
SHA3 of peer best block hash
difficulty: Option<U256>
Peer total difficulty if known
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EthProtocolInfo
impl Send for EthProtocolInfo
impl Sync for EthProtocolInfo
impl Unpin for EthProtocolInfo
impl UnwindSafe for EthProtocolInfo
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