pub type Result<T> = Result<T, ParcodeError>;
A specialized Result type for Parcode operations.
Result
This type alias is used throughout the library to simplify error handling. It is equivalent to std::result::Result<T, ParcodeError>.
std::result::Result<T, ParcodeError>
use parcode::Result; fn my_function() -> Result<i32> { Ok(42) }
pub enum Result<T> { Ok(T), Err(ParcodeError), }
Contains the success value
Contains the error value