[][src]Struct qt_core::QUnhandledException

#[repr(C)]
pub struct QUnhandledException { /* fields omitted */ }

The UnhandledException class represents an unhandled exception in a worker thread.

C++ class: QUnhandledException.

C++ documentation:

The UnhandledException class represents an unhandled exception in a worker thread.

If a worker thread throws an exception that is not a subclass of QException, the Qt functions will throw a QUnhandledException on the receiver thread side.

Inheriting from this class is not supported.

Methods

impl QUnhandledException[src]

pub unsafe fn clone(&self) -> MutPtr<QUnhandledException>[src]

Calls C++ function: virtual QUnhandledException* QUnhandledException::clone() const.

pub unsafe fn copy_from(
    &mut self,
    other: impl CastInto<Ref<QUnhandledException>>
) -> MutRef<QUnhandledException>
[src]

The UnhandledException class represents an unhandled exception in a worker thread.

Calls C++ function: QUnhandledException& QUnhandledException::operator=(const QUnhandledException& other).

C++ documentation:

The UnhandledException class represents an unhandled exception in a worker thread.

If a worker thread throws an exception that is not a subclass of QException, the Qt functions will throw a QUnhandledException on the receiver thread side.

Inheriting from this class is not supported.

pub unsafe fn new() -> CppBox<QUnhandledException>[src]

The UnhandledException class represents an unhandled exception in a worker thread.

Calls C++ function: [constructor] void QUnhandledException::QUnhandledException().

C++ documentation:

The UnhandledException class represents an unhandled exception in a worker thread.

If a worker thread throws an exception that is not a subclass of QException, the Qt functions will throw a QUnhandledException on the receiver thread side.

Inheriting from this class is not supported.

pub unsafe fn new_copy(
    other: impl CastInto<Ref<QUnhandledException>>
) -> CppBox<QUnhandledException>
[src]

The UnhandledException class represents an unhandled exception in a worker thread.

Calls C++ function: [constructor] void QUnhandledException::QUnhandledException(const QUnhandledException& other).

C++ documentation:

The UnhandledException class represents an unhandled exception in a worker thread.

If a worker thread throws an exception that is not a subclass of QException, the Qt functions will throw a QUnhandledException on the receiver thread side.

Inheriting from this class is not supported.

pub unsafe fn raise(&self)[src]

Calls C++ function: virtual void QUnhandledException::raise() const.

Trait Implementations

impl CppDeletable for QUnhandledException[src]

unsafe fn delete(&mut self)[src]

Destroys the instance of QUnhandledException. The destructor is virtual.

Calls C++ function: virtual [destructor] void QUnhandledException::~QUnhandledException().

C++ documentation:

Destroys the instance of QUnhandledException. The destructor is virtual.

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

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

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]