pub struct Node { /* private fields */ }Implementations§
Source§impl Node
impl Node
pub fn connect( url: &str, cookie: &Path, wallet: RpcScope<'_>, ) -> Result<Self, Error>
pub fn connect_for_network( url: &str, cookie: &Path, wallet: RpcScope<'_>, network: Network, ) -> Result<Self, Error>
pub fn network(&self) -> Network
pub fn call(&self, method: &str, args: &[Value]) -> Result<Value, Error>
Auto Trait Implementations§
impl !Freeze for Node
impl !RefUnwindSafe for Node
impl !UnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
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