Trait moras::interface::remote::RpcClient

source ·
pub trait RpcClient {
    // Required methods
    async fn connect(&mut self) -> Result<(), Box<dyn Error>>;
    fn disconnect(&mut self);
}

Required Methods§

source

async fn connect(&mut self) -> Result<(), Box<dyn Error>>

source

fn disconnect(&mut self)

Object Safety§

This trait is not object safe.

Implementors§