Struct neon::result::Throw[][src]

pub struct Throw;

An error sentinel type used by NeonResult (and JsResult) to indicate that the JavaScript engine has entered into a throwing state.

Throw deliberately does not implement std::error::Error, because it's generally not a good idea to chain JavaScript exceptions with other kinds of Rust errors, since entering into the throwing state means that the JavaScript engine is unavailable until the exception is handled.

Trait Implementations

impl Debug for Throw
[src]

Formats the value using the given formatter. Read more

impl Display for Throw
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Throw

impl Sync for Throw