1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#![deny(missing_docs)]
#![deny(warnings)]
#![cfg_attr(feature = "nightly", feature(test))]
#![cfg_attr(feature = "cargo-clippy", feature(tool_lints))]
#[cfg(test)]
#[macro_use]
extern crate quickcheck;
#[cfg(all(feature = "nightly", test))]
extern crate test;
mod frame;
mod mask;
mod message;
mod opcode;
pub use crate::message::{Message, MessageCodec};
pub use crate::opcode::Opcode;
use std::error;
use std::result;
pub type Error = Box<error::Error + 'static>;
pub type Result<T> = result::Result<T, Error>;