[][src]Struct opencv::core::Exception

pub struct Exception { /* fields omitted */ }

! Class passed to an error.

This class encapsulates all or almost all necessary information about the error happened in the program. The exception is usually constructed and thrown implicitly via CV_Error and CV_Error_ macros.

See also

error

Implementations

impl Exception[src]

impl Exception[src]

pub fn default() -> Result<Exception>[src]

! Default constructor

pub fn new(
    _code: i32,
    _err: &str,
    _func: &str,
    _file: &str,
    _line: i32
) -> Result<Exception>
[src]

! Full constructor. Normally the constructor is not called explicitly. Instead, the macros CV_Error(), CV_Error_() and CV_Assert() are used.

Trait Implementations

impl Boxed for Exception[src]

impl Drop for Exception[src]

impl ExceptionTrait for Exception[src]

impl Send for Exception[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.