mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-22 19:24:08 +00:00
Re-export ConfigError
Specifically `TransportConfig::max_concurrent_bidi_streams` and `TransportConfig::max_concurrent_uni_streams` return `quinn_proto::ConfigError`. This prevents consumers of `quinn` having to bring in `quinn-proto` just to use `ConfigError`, for example in their custom error type.
This commit is contained in:
committed by
Benjamin Saunders
parent
89e89d30fc
commit
3a6cf6bfc3
+3
-2
@@ -60,8 +60,9 @@ mod recv_stream;
|
||||
mod send_stream;
|
||||
|
||||
pub use proto::{
|
||||
crypto, ApplicationClose, Certificate, CertificateChain, Chunk, ConnectError, ConnectionClose,
|
||||
ConnectionError, ParseError, PrivateKey, StreamId, Transmit, TransportConfig, VarInt,
|
||||
crypto, ApplicationClose, Certificate, CertificateChain, Chunk, ConfigError, ConnectError,
|
||||
ConnectionClose, ConnectionError, ParseError, PrivateKey, StreamId, Transmit, TransportConfig,
|
||||
VarInt,
|
||||
};
|
||||
|
||||
pub use crate::builders::EndpointError;
|
||||
|
||||
Reference in New Issue
Block a user