coerce 0.3.1-prerelease2

Async actor runtime and distributed systems framework
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::remote::cluster::client::RemoteClusterClient;
use crate::remote::system::RemoteActorSystem;

pub struct ClusterClientBuilder {
    system: RemoteActorSystem,
    // seed_node:
}

impl ClusterClientBuilder {
    pub fn new(system: RemoteActorSystem) -> ClusterClientBuilder {
        ClusterClientBuilder { system }
    }

    pub fn build(self) -> RemoteClusterClient {
        RemoteClusterClient::new(self.system)
    }
}