}
pub use may_route::MayRoute;
-#[throws(PacketError)]
pub async fn route_packet(global: &Global,
transport_conn: &str, source: Option<&ClientName>,
packet: RoutedPacketData, daddr: IpAddr,
}, |(daddr,packet)| route_packet(
&global, &conn, Some(&ic.link.client), daddr,
packet, may_route.clone(),
- ),
+ ).map(Ok),
|e| Ok::<_,SlipFramesError<_>>({ warnings.add(&e)?; })
).await?;
}
pub use cervine::Cow as Cervine;
pub use extend::ext;
pub use fehler::{throw, throws};
-pub use futures::{poll, future, StreamExt, TryStreamExt};
+pub use futures::{poll, future, FutureExt, StreamExt, TryStreamExt};
pub use hyper::body::{Bytes, Buf as _};
pub use hyper::{Method, Uri};
pub use hyper_tls::HttpsConnector;