Skip to content

Instantly share code, notes, and snippets.

View JOOpdenhoevel's full-sized avatar

Jan-Oliver Opdenhövel JOOpdenhoevel

View GitHub Profile
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) => {
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
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