[][src]Enum clang::ExceptionSpecification

#[repr(C)]pub enum ExceptionSpecification {
    BasicNoexcept,
    ComputedNoexcept,
    Dynamic,
    DynamicAny,
    DynamicNone,
    Unevaluated,
    Uninstantiated,
    Unparsed,
    NoThrow,
}

Indicates the exception specification of a function.

Variants

BasicNoexcept

The function has a basic noexcept specification.

ComputedNoexcept

The function has a computed noexcept specification.

Dynamic

The function has a throw(T1, T2) specification.

DynamicAny

The function has a throw(...) specification.

DynamicNone

The function has a throw() specification.

Unevaluated

The function has an exception specification that has not yet been evaluated.

Uninstantiated

The function has an exception specification that has not yet been instantiated.

Unparsed

The function has an exception specification that has not yet been parsed.

NoThrow

The function has a __declspec(nothrow) specification.

Only produced by libclang 9.0 and later.

Trait Implementations

impl Clone for ExceptionSpecification[src]

impl Copy for ExceptionSpecification[src]

impl Debug for ExceptionSpecification[src]

impl Eq for ExceptionSpecification[src]

impl Hash for ExceptionSpecification[src]

impl PartialEq<ExceptionSpecification> for ExceptionSpecification[src]

impl StructuralEq for ExceptionSpecification[src]

impl StructuralPartialEq for ExceptionSpecification[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.