Struct tower_discover::ServiceList [−][src]
Static service discovery based on a predetermined list of services.
ServiceList
is created with an initial list of services. The discovery
process will yield this list once and do nothing after.
Implementations
impl<T, U> ServiceList<T> where
T: IntoIterator<Item = U>,
[src][−]
T: IntoIterator<Item = U>,
pub fn new<Request>(services: T) -> ServiceList<T> where
U: Service<Request>,
[src]
U: Service<Request>,
Trait Implementations
impl<T: Debug> Debug for ServiceList<T> where
T: IntoIterator,
T::IntoIter: Debug,
[src][+]
T: IntoIterator,
T::IntoIter: Debug,
impl<T, U> Discover for ServiceList<T> where
T: IntoIterator<Item = U>,
[src][+]
T: IntoIterator<Item = U>,
impl<T> PinnedDrop for ServiceList<T> where
T: IntoIterator,
[src][+]
T: IntoIterator,
impl<'pin, T> Unpin for ServiceList<T> where
T: IntoIterator,
__ServiceList<'pin, T>: Unpin,
[src]
T: IntoIterator,
__ServiceList<'pin, T>: Unpin,
impl<T> UnsafeUnpin for ServiceList<T> where
T: IntoIterator,
[src]
T: IntoIterator,
Auto Trait Implementations
impl<T> RefUnwindSafe for ServiceList<T> where
<T as IntoIterator>::IntoIter: RefUnwindSafe,
<T as IntoIterator>::IntoIter: RefUnwindSafe,
impl<T> Send for ServiceList<T> where
<T as IntoIterator>::IntoIter: Send,
<T as IntoIterator>::IntoIter: Send,
impl<T> Sync for ServiceList<T> where
<T as IntoIterator>::IntoIter: Sync,
<T as IntoIterator>::IntoIter: Sync,
impl<T> UnwindSafe for ServiceList<T> where
<T as IntoIterator>::IntoIter: UnwindSafe,
<T as IntoIterator>::IntoIter: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,