Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha committed Oct 4, 2024
1 parent afcd053 commit 3b7aafb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
//! let path = "/run/containerd/containerd.sock";
//! let channel = Endpoint::try_from("http://[::]")
//! .unwrap()
//! .connect_with_connector(service_fn(move |_: Uri| UnixStream::connect(path)))
//! .connect_with_connector(service_fn(move |_: Uri| async {
//! Ok::<_, std::io::Error>(TokioIo::new(UnixStream::connect(path).await?))
//! }))

Check failure on line 45 in src/lib.rs

View workflow job for this annotation

GitHub Actions / build

failed to resolve: use of undeclared type `TokioIo`
//! .await
//! .expect("Could not create client.");
//!
Expand Down

0 comments on commit 3b7aafb

Please sign in to comment.