pub struct TemplateBundle { /* private fields */ }Expand description
Bundle that registers the template: scheme from the [template] config
block.
Constructed by camel-cli via register_bundle!(camel_template::TemplateBundle)
— always-on (no feature gate), like the other built-in transform components.
Trait Implementations§
Source§impl ComponentBundle for TemplateBundle
impl ComponentBundle for TemplateBundle
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 TemplateBundle
impl RefUnwindSafe for TemplateBundle
impl Send for TemplateBundle
impl Sync for TemplateBundle
impl Unpin for TemplateBundle
impl UnsafeUnpin for TemplateBundle
impl UnwindSafe for TemplateBundle
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