Trait FromInternalErrorCode

Source
pub trait FromInternalErrorCode: Sized {
    // Required method
    fn into_result(self) -> Result<(), InternalError>;
}
Expand description

A helper trait for going from an InternalError to a Result.

Required Methods§

Source

fn into_result(self) -> Result<(), InternalError>

Make the conversion.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromInternalErrorCode for i32

Source§

impl FromInternalErrorCode for isize

Implementors§