Type Alias script::dom::bindings::error::Fallible

source ·
pub type Fallible<T> = Result<T, Error>;
Expand description

The return type for IDL operations that can throw DOM exceptions.

Aliased Type§

enum Fallible<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

source§

impl<T, E> Traceable for Result<T, E>where T: Traceable, E: Traceable,

source§

unsafe fn trace(&self, trc: *mut JSTracer)

Trace self.