Enum openethereum::rpc_apis::Api
source · [−]pub enum Api {
Show 14 variants
Web3,
Net,
Eth,
EthPubSub,
Personal,
Signer,
Parity,
Traces,
Rpc,
ParityPubSub,
ParityAccounts,
ParitySet,
SecretStore,
Debug,
}
Variants
Web3
Web3 (Safe)
Net
Net (Safe)
Eth
Eth (Safe)
EthPubSub
Eth Pub-Sub (Safe)
Personal
Geth-compatible “personal” API (DEPRECATED; only used in --geth
mode.)
Signer
Signer - Confirm transactions in Signer (UNSAFE: Passwords, List of transactions)
Parity
Parity - Custom extensions (Safe)
Traces
Traces (Safe)
Rpc
Rpc (Safe)
ParityPubSub
Parity PubSub - Generic Publish-Subscriber (Safety depends on other APIs exposed).
ParityAccounts
Parity Accounts extensions (UNSAFE: Passwords, Side Effects (new account))
ParitySet
Parity - Set methods (UNSAFE: Side Effects affecting node operation)
SecretStore
SecretStore (UNSAFE: arbitrary hash signing)
Debug
Geth-compatible (best-effort) debug API (Potentially UNSAFE) NOTE We don’t aim to support all methods, only the ones that are useful.
Trait Implementations
impl Eq for Api
impl StructuralEq for Api
impl StructuralPartialEq for Api
Auto Trait Implementations
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnwindSafe for Api
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more