Derive Debug for all error types (#28)

This commit is contained in:
Oliver Gould 2017-11-19 20:25:10 +00:00 committed by Carl Lerche
parent 373ba52493
commit 2db5adee43
3 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ where T: Discover,
}
/// Error produced by `Balance`
#[derive(Debug)]
pub enum Error<T, U> {
Inner(T),
Balance(U),

View File

@ -41,6 +41,7 @@ where T: Service,
}
/// Errors produced by `Buffer`.
#[derive(Debug)]
pub enum Error<T> {
Inner(T),
Closed,

View File

@ -18,6 +18,7 @@ pub struct ResponseFuture<T> {
}
/// Error produced by `OptionService` responding to a request.
#[derive(Debug)]
pub enum Error<T> {
Inner(T),
None,