Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub struct MultiAddrTcpStream { | |
addrs: Vec<SocketAddr>, | |
future: Option<IoFuture<TcpStream>>, | |
timeout: Option<time::Duration>, | |
last_err: Option<io::Error>, | |
} | |
impl MultiAddrTcpStream { | |
pub fn connect(mut addrs: Vec<SocketAddr>) -> MultiAddrTcpStream { | |
Self::new(addrs, None) |