pub type CodecResult<T> = Result<T, ProtocolError>;
pub enum CodecResult<T> { Ok(T), Err(ProtocolError), }
Contains the success value
Contains the error value