mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-24 00:00:14 +02:00
Get rid of BufError
This commit is contained in:
-13
@@ -34,16 +34,3 @@ pub use str::{
|
||||
use std::u32;
|
||||
|
||||
const MAX_CAPACITY: usize = u32::MAX as usize;
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
* ===== BufError =====
|
||||
*
|
||||
*/
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum BufError {
|
||||
Underflow,
|
||||
Overflow,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user