Skip to content

Instantly share code, notes, and snippets.

View silmeth's full-sized avatar

Benedykt Jaworski silmeth

  • Poznań, Poland
View GitHub Profile
import java.time.Duration;
import java.util.concurrent.TimeoutException;
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.core.http.HttpClient;
import io.vertx.core.http.HttpClientOptions;
import io.vertx.core.http.HttpServer;
import io.vertx.core.http.HttpServerRequest;
import io.vertx.ext.unit.Async;
// In Rust Playground: https://is.gd/hyO195
struct Foo;
impl Drop for Foo {
fn drop(&mut self) {
println!("Dropping!");
}
}