pub type CoapResult<T> = Result<T, CoapError>;
Result type for CoAP operations.
pub enum CoapResult<T> { Ok(T), Err(CoapError), }
Contains the success value
Contains the error value