Enum google_api_proto::google::cloud::blockchainnodeengine::v1::blockchain_node::ethereum_details::ExecutionClient
source · #[repr(i32)]pub enum ExecutionClient {
Unspecified = 0,
Geth = 1,
Erigon = 2,
}
Expand description
The execution client (i.e., Execution Engine or EL client) listens to new transactions broadcast in the network, executes them in EVM, and holds the latest state and database of all current Ethereum data.
See What are nodes and clients? for more details.
Variants§
Unspecified = 0
Execution client has not been specified, but should be.
Geth = 1
Official Go implementation of the Ethereum protocol. See go-ethereum for details.
Erigon = 2
An implementation of Ethereum (execution client), on the efficiency frontier, written in Go. See Erigon on GitHub for details.
Implementations§
source§impl ExecutionClient
impl ExecutionClient
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ExecutionClient
impl Clone for ExecutionClient
source§fn clone(&self) -> ExecutionClient
fn clone(&self) -> ExecutionClient
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecutionClient
impl Debug for ExecutionClient
source§impl Default for ExecutionClient
impl Default for ExecutionClient
source§fn default() -> ExecutionClient
fn default() -> ExecutionClient
source§impl From<ExecutionClient> for i32
impl From<ExecutionClient> for i32
source§fn from(value: ExecutionClient) -> i32
fn from(value: ExecutionClient) -> i32
source§impl Hash for ExecutionClient
impl Hash for ExecutionClient
source§impl Ord for ExecutionClient
impl Ord for ExecutionClient
source§fn cmp(&self, other: &ExecutionClient) -> Ordering
fn cmp(&self, other: &ExecutionClient) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ExecutionClient
impl PartialEq for ExecutionClient
source§fn eq(&self, other: &ExecutionClient) -> bool
fn eq(&self, other: &ExecutionClient) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ExecutionClient
impl PartialOrd for ExecutionClient
source§fn partial_cmp(&self, other: &ExecutionClient) -> Option<Ordering>
fn partial_cmp(&self, other: &ExecutionClient) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ExecutionClient
impl TryFrom<i32> for ExecutionClient
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ExecutionClient, UnknownEnumValue>
fn try_from(value: i32) -> Result<ExecutionClient, UnknownEnumValue>
impl Copy for ExecutionClient
impl Eq for ExecutionClient
impl StructuralPartialEq for ExecutionClient
Auto Trait Implementations§
impl Freeze for ExecutionClient
impl RefUnwindSafe for ExecutionClient
impl Send for ExecutionClient
impl Sync for ExecutionClient
impl Unpin for ExecutionClient
impl UnwindSafe for ExecutionClient
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request