pub type Result<T> = Result<T, ApiError>;
常用的 Result 别名,方便在库内统一返回类型。
Result
pub enum Result<T> { Ok(T), Err(ApiError), }
Contains the success value
Contains the error value