Enum browser_window::DelegateError[][src]

pub enum DelegateError {
    RuntimeNotAvailable,
    ClosurePanicked,
}
Expand description

The error that occurs when you’re delegating work to the GUI thread, but it fails to finish and/or return a result.

Variants

RuntimeNotAvailable

The runtime has either not yet started or already ended. This happens when the application has already exited for example.

ClosurePanicked

The delegated closure has panicked.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.