We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5975600 commit aa785dfCopy full SHA for aa785df
src/lib.rs
@@ -1695,7 +1695,10 @@ impl<M> ClientInner<M> {
1695
async fn zero_rtt_accepted(&self) -> bool {
1696
match self {
1697
ClientInner::Local(_sender) => true,
1698
+ #[cfg(feature = "rpc")]
1699
ClientInner::Remote(remote_connection) => remote_connection.zero_rtt_accepted().await,
1700
+ #[cfg(not(feature = "rpc"))]
1701
+ Self::Remote(_) => unreachable!(),
1702
}
1703
1704
0 commit comments