Switched to the webtransport-generic crate so quinn or quiche (with adapter) can be used. This also involved switching out the decoder/encoder since it meant a wrapper was required.
13 lines
234 B
Rust
13 lines
234 B
Rust
use super::BoundsExceeded;
|
|
|
|
use thiserror::Error;
|
|
|
|
#[derive(Error, Debug)]
|
|
pub enum EncodeError {
|
|
#[error("varint too large")]
|
|
BoundsExceeded(#[from] BoundsExceeded),
|
|
|
|
#[error("i/o error: {0}")]
|
|
IoError(#[from] std::io::Error),
|
|
}
|