pub struct HttpStaticBundle { /* private fields */ }Expand description
Component bundle for the http-static scheme.
Loads configuration from [default.components.http-static] in Camel.toml
and registers HttpStaticComponent.
Trait Implementations§
Source§impl ComponentBundle for HttpStaticBundle
impl ComponentBundle for HttpStaticBundle
Source§fn config_key() -> &'static str
fn config_key() -> &'static str
Key under [components.] in Camel.toml.
Source§fn from_toml(value: Value) -> Result<Self, CamelError>
fn from_toml(value: Value) -> Result<Self, CamelError>
Deserialize the raw toml::Value block for this bundle.
Source§fn register_all(self, ctx: &mut dyn ComponentRegistrar)
fn register_all(self, ctx: &mut dyn ComponentRegistrar)
Register all schemes this bundle owns into the context.
Auto Trait Implementations§
impl Freeze for HttpStaticBundle
impl RefUnwindSafe for HttpStaticBundle
impl Send for HttpStaticBundle
impl Sync for HttpStaticBundle
impl Unpin for HttpStaticBundle
impl UnsafeUnpin for HttpStaticBundle
impl UnwindSafe for HttpStaticBundle
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