Struct parity_rpc::v1::ParitySetAccountsClient
source · [−]pub struct ParitySetAccountsClient<M> { /* private fields */ }
Expand description
Parity-specific account-touching RPC interfaces.
Implementations
sourceimpl<M> ParitySetAccountsClient<M>
impl<M> ParitySetAccountsClient<M>
sourcepub fn new(accounts: &Arc<AccountProvider>, miner: &Arc<M>) -> Self
pub fn new(accounts: &Arc<AccountProvider>, miner: &Arc<M>) -> Self
Creates new ParitySetAccountsClient
Trait Implementations
sourceimpl<M: MinerService + 'static> ParitySetAccounts for ParitySetAccountsClient<M>
impl<M: MinerService + 'static> ParitySetAccounts for ParitySetAccountsClient<M>
sourcefn set_engine_signer(&self, address: H160, password: String) -> Result<bool>
fn set_engine_signer(&self, address: H160, password: String) -> Result<bool>
Sets account for signing consensus messages.
sourcefn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
Create an IoDelegate
, wiring rpc calls to the trait methods.
Auto Trait Implementations
impl<M> !RefUnwindSafe for ParitySetAccountsClient<M>
impl<M> Send for ParitySetAccountsClient<M> where
M: Send + Sync,
impl<M> Sync for ParitySetAccountsClient<M> where
M: Send + Sync,
impl<M> Unpin for ParitySetAccountsClient<M>
impl<M> !UnwindSafe for ParitySetAccountsClient<M>
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