Type RustClosure

type RustClosure = (int, int)

Struct Condition

pub struct Condition <T, U>{
    name: &static /str,
    key: task::local_data::LocalDataKey<Handler<T, U>>,
}

Struct Guard

struct Guard <T, U>{
    cond: &Condition<T, U>,
}

Struct Handler

pub struct Handler <T, U>{
    handle: RustClosure,
    prev: Option<@Handler<T, U>>,
}

Struct Trap

struct Trap <T, U>{
    cond: &Condition<T, U>,
    handler: @Handler<T, U>,
}

Implementation for Condition<T, U>

Method trap

fn trap(h: &self /fn(&T) -> U) -> Trap/&self <T, U>

Method raise

fn raise(t: &T) -> U

Method raise_default

fn raise_default(t: &T, default: &fn() -> U) -> U

Implementation for Trap<T, U>

Method in

fn in<V>(inner: &self /fn() -> V) -> V