mirror of
https://github.com/Noratrieb/101844-repro.git
synced 2026-01-16 15:15:00 +01:00
-m
This commit is contained in:
parent
9a3a68ad02
commit
694ce70ce3
3 changed files with 4 additions and 30 deletions
|
|
@ -3,6 +3,8 @@
|
|||
pub mod balance;
|
||||
pub mod make;
|
||||
|
||||
use std::future::Future;
|
||||
use futures_core::TryStream;
|
||||
pub trait Sealed<T> {}
|
||||
|
||||
/// Alias for a type-erased error type.
|
||||
|
|
@ -15,11 +17,6 @@ mod load {
|
|||
}
|
||||
}
|
||||
|
||||
use std::future::Future;
|
||||
use std::task::Poll;
|
||||
|
||||
use futures_core::TryStream;
|
||||
|
||||
pub trait Discover {
|
||||
type Key: Eq;
|
||||
type Service;
|
||||
|
|
@ -54,6 +51,4 @@ pub trait Service<Request> {
|
|||
|
||||
/// The future response value.
|
||||
type Future: Future<Output = Result<Self::Response, Self::Error>>;
|
||||
|
||||
fn poll_ready(&mut self) -> Poll<Result<(), Self::Error>>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue