Lines Matching +refs:one +refs:arg +refs:derive +refs:type
28 #[derive(Debug, Snafu)]
52 - create methods on your `Error` type
62 #[derive(Debug, Snafu)]
71 ($($arg:tt)*) => { Any { detail: format!($($arg)*) }.fail() }
89 ## "A Custom Fail type" and "Using the Error type"
91 These two idioms from Failure are combined into one primary use case
103 #[derive(Debug, Snafu)]
119 You do not have to have a one-to-one relationship between an
126 #[derive(Debug, Snafu)]
157 If you choose to make your error type [opaque][], you can implement
158 methods on the opaque type, allowing you to selectively choose what
168 #[derive(Debug, Snafu)]
175 #[derive(Debug, Snafu)]
178 #[derive(Debug, Copy, Clone, PartialEq, Eq)]