Enum RethRpcModule
pub enum RethRpcModule {
Show 15 variants
Admin,
Debug,
Eth,
Net,
Trace,
Txpool,
Web3,
Rpc,
Reth,
Ots,
Flashbots,
Miner,
Mev,
Testing,
Other(String),
}Expand description
Represents RPC modules that are supported by reth
admin_ module
debug_ module
eth_ module
net_ module
trace_ module
txpool_ module
web3_ module
rpc_ module
reth_ module
ots_ module
flashbots_ module
miner_ module
mev_ module
testing_ module
Custom RPC module not part of the standard set
Source§
Source
Returns the number of standard variants (excludes Other)
Source
Returns all variant names including Other (for parsing)
Source
Returns standard variant names (excludes “other”) for CLI display
Source
Returns all standard variants (excludes Other)
Source
Returns iterator over standard modules only
Source
Returns the string representation of the module.
Source
Returns true if this is an Other variant.
§
§
Causes self to use its Binary implementation when Debug-formatted.
§
Causes self to use its Display implementation when
Debug-formatted.
§
Causes self to use its LowerExp implementation when
Debug-formatted.
§
Causes self to use its LowerHex implementation when
Debug-formatted.
§
Causes self to use its Octal implementation when Debug-formatted.
§
Causes self to use its Pointer implementation when
Debug-formatted.
§
Causes self to use its UpperExp implementation when
Debug-formatted.
§
Causes self to use its UpperHex implementation when
Debug-formatted.
§
§
§
Calls .tap() only in debug builds, and is erased in release builds.
§
Calls .tap_mut() only in debug builds, and is erased in release
builds.
§
Calls .tap_borrow() only in debug builds, and is erased in release
builds.
§
Calls .tap_borrow_mut() only in debug builds, and is erased in release
builds.
§
Calls .tap_ref() only in debug builds, and is erased in release
builds.
§
Calls .tap_ref_mut() only in debug builds, and is erased in release
builds.
§
Calls .tap_deref() only in debug builds, and is erased in release
builds.
§
Calls .tap_deref_mut() only in debug builds, and is erased in release
builds.
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes
Size for each variant:
Admin: 0 bytesDebug: 0 bytesEth: 0 bytesNet: 0 bytesTrace: 0 bytesTxpool: 0 bytesWeb3: 0 bytesRpc: 0 bytesReth: 0 bytesOts: 0 bytesFlashbots: 0 bytesMiner: 0 bytesMev: 0 bytesTesting: 0 bytesOther: 24 bytes