pub type BytesResult<T = ()> = Result<T, BytesError>;Available on crate features
types-bytes and types only.Expand description
字节容器操作的统一返回类型。
§Feature Requirement
需要启用 "types-bytes" 特性。
§Errors
- 当请求长度超出容器容量时返回
BytesError::CapacityExceeded。
Aliased Type§
pub enum BytesResult<T = ()> {
Ok(T),
Err(BytesError),
}