pub struct CamelContextBuilder { /* private fields */ }Implementations§
Source§impl CamelContextBuilder
impl CamelContextBuilder
pub fn new() -> Self
pub fn registry(self, registry: Arc<Mutex<Registry>>) -> Self
pub fn languages(self, languages: SharedLanguageRegistry) -> Self
pub fn metrics(self, metrics: Arc<dyn MetricsCollector>) -> Self
pub fn supervision(self, config: SupervisionConfig) -> Self
pub fn runtime_store(self, store: InMemoryRuntimeStore) -> Self
pub fn shutdown_timeout(self, timeout: Duration) -> Self
pub async fn build(self) -> Result<CamelContext, CamelError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CamelContextBuilder
impl !RefUnwindSafe for CamelContextBuilder
impl Send for CamelContextBuilder
impl Sync for CamelContextBuilder
impl Unpin for CamelContextBuilder
impl UnsafeUnpin for CamelContextBuilder
impl !UnwindSafe for CamelContextBuilder
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