pub type Result<T> = Result<T, DmError>;
统一 Result 别名
pub enum Result<T> { Ok(T), Err(DmError), }
Contains the success value
Contains the error value