Trait choices::Choices[][src]

pub trait Choices {
#[must_use]    fn run<'async_trait, T: Into<SocketAddr> + Send>(
        &'static self,
        addr: T
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>

Notable traits for Pin<P>

impl<P> Future for Pin<P> where
    P: Unpin + DerefMut,
    <P as Deref>::Target: Future
type Output = <<P as Deref>::Target as Future>::Output;

    where
        T: 'async_trait,
        Self: 'async_trait
; }

A trait to manage the http server responsible for the configuration.

Required methods

#[must_use]fn run<'async_trait, T: Into<SocketAddr> + Send>(
    &'static self,
    addr: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>

Notable traits for Pin<P>

impl<P> Future for Pin<P> where
    P: Unpin + DerefMut,
    <P as Deref>::Target: Future
type Output = <<P as Deref>::Target as Future>::Output;
where
    T: 'async_trait,
    Self: 'async_trait, 
[src]

Starts the configuration http server on the chosen address.

Loading content...

Implementations on Foreign Types

impl<C: Choices + Send> Choices for Arc<Mutex<C>>[src]

Loading content...

Implementors

Loading content...