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