Trait error_code::ErrorCodeEnum [−][src]
pub trait ErrorCodeEnum: Into<i32> { type Category: Category; fn error_code(self) -> ErrorCode<Self::Category> { ... } }
Expand description
Identifies object as error code, allowing for it to be converted with right Category
Associated Types
Provided methods
fn error_code(self) -> ErrorCode<Self::Category>[src]
fn error_code(self) -> ErrorCode<Self::Category>[src]Converts self into ErrorCode