protocols/{dcutr,relay}: Expose error types (#2605)

Co-authored-by: canewsin <canews.in@gmail.com>
This commit is contained in:
Max Inden
2022-04-04 11:32:54 +02:00
committed by GitHub
parent 6cc3b4ec52
commit 4d796fdca1
4 changed files with 23 additions and 3 deletions

View File

@ -25,6 +25,10 @@ pub mod behaviour;
mod handler;
mod protocol;
pub use protocol::{
inbound::UpgradeError as InboundUpgradeError, outbound::UpgradeError as OutboundUpgradeError,
};
mod message_proto {
include!(concat!(env!("OUT_DIR"), "/holepunch.pb.rs"));
}