moq-rs/moq-transport/src/error.rs

6 lines
123 B
Rust

pub trait MoqError {
/// An integer code that is sent over the wire.
fn code(&self) -> u32;
fn reason(&self) -> &str;
}