Skip to content

Instantly share code, notes, and snippets.

View thomaseizinger's full-sized avatar

Thomas Eizinger thomaseizinger

View GitHub Profile
use anyhow::Context;
use bytecodec::{DecodeExt, EncodeExt as _};
use futures::{Future, FutureExt};
use std::{
collections::VecDeque,
net::{SocketAddr, ToSocketAddrs},
pin::Pin,
task::{ready, Poll, Waker},
time::{Duration, Instant},
};