1 2 3 4 5 6
use std::result; pub type Result<T> = result::Result<T, Error>; #[derive(Debug)] pub struct Error;