Skip to content

Commit

Permalink
add set_bind_net_addr() method
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime2 committed Aug 9, 2019
1 parent c359f98 commit 6d5042b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ impl<Data> TransportConfiguration<Data> for TCPtransportCfg<Data> {
self.channel_pool.push(sender);
Ok(())
}
fn set_bind_net_addr(&mut self, address: String) -> Result<()> {
self.bind_net_addr = address;
Ok(())
}
}

impl<Data> TCPtransportCfg<Data> {
Expand Down

0 comments on commit 6d5042b

Please sign in to comment.