Enum wick_config::config::HttpRouterConfig
source · pub enum HttpRouterConfig {
RawRouter(RawRouterConfig),
RestRouter(RestRouterConfig),
StaticRouter(StaticRouterConfig),
ProxyRouter(ProxyRouterConfig),
}Variants§
RawRouter(RawRouterConfig)
RestRouter(RestRouterConfig)
StaticRouter(StaticRouterConfig)
ProxyRouter(ProxyRouterConfig)
Implementations§
Trait Implementations§
source§impl AssetManager for HttpRouterConfig
impl AssetManager for HttpRouterConfig
type Asset = AssetReference
fn set_baseurl(&self, baseurl: &Path)
fn assets(&self) -> Assets<'_, AssetReference>
fn get_asset_flags(&self) -> u32
source§impl Clone for HttpRouterConfig
impl Clone for HttpRouterConfig
source§fn clone(&self) -> HttpRouterConfig
fn clone(&self) -> HttpRouterConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HttpRouterConfig
impl Debug for HttpRouterConfig
source§impl Serialize for HttpRouterConfig
impl Serialize for HttpRouterConfig
source§impl TryFrom<HttpRouter> for HttpRouterConfig
impl TryFrom<HttpRouter> for HttpRouterConfig
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<HttpRouterConfig> for HttpRouter
impl TryFrom<HttpRouterConfig> for HttpRouter
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl !RefUnwindSafe for HttpRouterConfig
impl Send for HttpRouterConfig
impl Sync for HttpRouterConfig
impl Unpin for HttpRouterConfig
impl !UnwindSafe for HttpRouterConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more