pub enum RpcService {
EthSepolia(EthSepoliaService),
BaseMainnet(L2MainnetService),
Custom(RpcApi),
OptimismMainnet(L2MainnetService),
ArbitrumOne(L2MainnetService),
EthMainnet(EthMainnetService),
Provider(ProviderId),
}Variants§
EthSepolia(EthSepoliaService)
BaseMainnet(L2MainnetService)
Custom(RpcApi)
OptimismMainnet(L2MainnetService)
ArbitrumOne(L2MainnetService)
EthMainnet(EthMainnetService)
Provider(ProviderId)
Trait Implementations§
Source§impl CandidType for RpcService
impl CandidType for RpcService
Source§impl Clone for RpcService
impl Clone for RpcService
Source§fn clone(&self) -> RpcService
fn clone(&self) -> RpcService
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RpcService
impl Debug for RpcService
Source§impl<'de> Deserialize<'de> for RpcService
impl<'de> Deserialize<'de> for RpcService
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RpcService
impl RefUnwindSafe for RpcService
impl Send for RpcService
impl Sync for RpcService
impl Unpin for RpcService
impl UnwindSafe for RpcService
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
Mutably borrows from an owned value. Read more