pub type Result<T> = std::result::Result<T, Error>;
#[non_exhaustive]
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("invalid TLS material: {0}")]
InvalidTls(String),
#[error("QUIC endpoint bind failed: {0}")]
BindFailed(String),
#[error("internal: {0}")]
Internal(String),
}