Trait vls_protocol_client::Transport
source · pub trait Transport: Send + Sync {
// Required methods
fn node_call(&self, message: Vec<u8>) -> Result<Vec<u8>, Error>;
fn call(
&self,
dbid: u64,
peer_id: PubKey,
message: Vec<u8>
) -> Result<Vec<u8>, Error>;
}