pub trait ErrorCode: Copy {
    const FIRST: u32;
    const Sentinel: u32;

    // Provided method
    fn from_u32(val: u32) -> Option<Self> { ... }
}

Required Associated Constants§

Provided Methods§

source

fn from_u32(val: u32) -> Option<Self>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ErrorCode for CTesseractErrorCode

source§

const FIRST: u32 = 5u32

source§

const Sentinel: u32 = 9u32

Implementors§