pub type PyResult<T> = Result<T, Error>;
The result type denoting a return T or an Error.
T
Error
enum PyResult<T> { Ok(T), Err(Error), }
Contains the success value
Contains the error value