Derive Debug for all error types (#28)
This commit is contained in:
parent
373ba52493
commit
2db5adee43
|
@ -19,6 +19,7 @@ where T: Discover,
|
|||
}
|
||||
|
||||
/// Error produced by `Balance`
|
||||
#[derive(Debug)]
|
||||
pub enum Error<T, U> {
|
||||
Inner(T),
|
||||
Balance(U),
|
||||
|
|
|
@ -41,6 +41,7 @@ where T: Service,
|
|||
}
|
||||
|
||||
/// Errors produced by `Buffer`.
|
||||
#[derive(Debug)]
|
||||
pub enum Error<T> {
|
||||
Inner(T),
|
||||
Closed,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue