Struct parity_rpc_client::signer_client::SignerRpc
source · [−]pub struct SignerRpc { /* private fields */ }
Implementations
sourceimpl SignerRpc
impl SignerRpc
pub fn new(url: &str, authfile: &PathBuf) -> Result<Self, RpcError>
pub fn requests_to_confirm(
&mut self
) -> BoxFuture<Result<Vec<ConfirmationRequest>, RpcError>, Canceled>
pub fn confirm_request(
&mut self,
id: U256,
new_gas: Option<U256>,
new_gas_price: Option<U256>,
new_condition: Option<Option<TransactionCondition>>,
pwd: &str
) -> BoxFuture<Result<U256, RpcError>, Canceled>
pub fn reject_request(
&mut self,
id: U256
) -> BoxFuture<Result<bool, RpcError>, Canceled>
Auto Trait Implementations
impl !RefUnwindSafe for SignerRpc
impl Send for SignerRpc
impl Sync for SignerRpc
impl Unpin for SignerRpc
impl !UnwindSafe for SignerRpc
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