This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::any::Any; | |
use std::ffi::CStr; | |
use std::os::raw::c_void; | |
// ########################### | |
// macros to make things easy. | |
// ########################### | |
macro_rules! make_interface { | |
($uri:expr, $interface:ty, $instance:expr) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thread 'tokio-runtime-worker-2' panicked at 'called `Result::unwrap()` on an `Err` value: ()', src/libcore/result.rs:1009:5 | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
stack backtrace: | |
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace | |
at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 | |
1: std::sys_common::backtrace::_print | |
at src/libstd/sys_common/backtrace.rs:72 | |
2: std::panicking::default_hook::{{closure}} | |
at src/libstd/sys_common/backtrace.rs:60 | |
at src/libstd/panicking.rs:210 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thread 'tokio-runtime-worker-2' panicked at 'NoopWake cannot wake', /home/janonard/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-async-await-0.1.4/src/compat/backward.rs:87:9 | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
stack backtrace: | |
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace | |
at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 | |
1: std::sys_common::backtrace::_print | |
at src/libstd/sys_common/backtrace.rs:72 | |
2: std::panicking::default_hook::{{closure}} | |
at src/libstd/sys_common/backtrace.rs:60 | |
at src/libstd/panicking.rs:210 |