1
2
3
4
5
6
7
8
9
10
11
12
13
14

use std::result;

pub type Result<T> = result::Result<T, &'static str>;

#[macro_export]
macro_rules! ok {
    () => (Ok("ok"));
}

#[macro_export]
macro_rules! not_implemented {
    () => (Err("not implemented"));
}