Searched defs:NeonResult (Results 1 – 6 of 6) sorted by relevance
13 fn main(mut cx: ModuleContext) -> NeonResult<()> { in main()
59 pub type NeonResult<T> = Result<T, Throw>; typedef
231 pub fn initialize_module(exports: Handle<JsObject>, init: fn(ModuleContext) -> NeonResult<()>) { in initialize_module()243 init: fn(ModuleContext) -> NeonResult<()>, in initialize_module()
614 ) -> NeonResult<()> { in export_function()622 pub fn export_class<T: Class>(&mut self, key: &str) -> NeonResult<()> { in export_class()629 pub fn export_value<T: Value>(&mut self, key: &str, val: Handle<T>) -> NeonResult<()> { in export_value()
49 pub fn register(cx: &mut ModuleContext) -> NeonResult<()> { in register()
566 impl<'a, T: ResultTypeInfo<'a>> ResultTypeInfo<'a> for NeonResult<T> { implementation