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>>ⓘ
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>>ⓘ where
T: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn run<'async_trait, T: Into<SocketAddr> + Send>(&'static self,
addr: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>ⓘ where
T: 'async_trait,
Self: 'async_trait,
Starts the configuration http server on the chosen address.
Implementations on Foreign Types
impl<C: Choices + Send> Choices for Arc<Mutex<C>>
[src]
impl<C: Choices + Send> Choices for Arc<Mutex<C>>
[src]impl<C: Choices + Send + Sync> Choices for Arc<RwLock<C>>
[src]
impl<C: Choices + Send + Sync> Choices for Arc<RwLock<C>>
[src]