Trait cglue::result::IntError [−][src]
pub trait IntError {
fn into_int_err(self) -> NonZeroI32;
fn from_int_err(err: NonZeroI32) -> Self;
}
Expand description
Represents an integer-convertable error value.
This trait can be implemented for error types to allow for more efficient conversion and more user-friendly usage from C API side.