pub struct ExecEndpoint { /* private fields */ }Expand description
An endpoint backed by a named exec profile.
Each exec:{name} URI resolves to one profile. The endpoint caches the
global config Arc so every producer creation shares the same validated
config state (including the startup-pinned canonical workspace root).
Implementations§
Source§impl ExecEndpoint
impl ExecEndpoint
Trait Implementations§
Source§impl Endpoint for ExecEndpoint
impl Endpoint for ExecEndpoint
Source§fn create_consumer(
&self,
_rt: Arc<dyn RuntimeObservability>,
) -> Result<Box<dyn Consumer>, CamelError>
fn create_consumer( &self, _rt: Arc<dyn RuntimeObservability>, ) -> Result<Box<dyn Consumer>, CamelError>
Create a consumer that reads from this endpoint. Read more
Source§fn create_producer(
&self,
rt: Arc<dyn RuntimeObservability>,
ctx: &ProducerContext,
) -> Result<BoxProcessor, CamelError>
fn create_producer( &self, rt: Arc<dyn RuntimeObservability>, ctx: &ProducerContext, ) -> Result<BoxProcessor, CamelError>
Create a producer that writes to this endpoint. Read more
Source§fn body_contract(&self) -> Option<BodyType>
fn body_contract(&self) -> Option<BodyType>
Optional body type contract for the producer. Read more
Source§fn polling_consumer(&self) -> Option<Box<dyn PollingConsumer>>
fn polling_consumer(&self) -> Option<Box<dyn PollingConsumer>>
Return a polling consumer for this endpoint, if supported. Read more
Auto Trait Implementations§
impl Freeze for ExecEndpoint
impl RefUnwindSafe for ExecEndpoint
impl Send for ExecEndpoint
impl Sync for ExecEndpoint
impl Unpin for ExecEndpoint
impl UnsafeUnpin for ExecEndpoint
impl UnwindSafe for ExecEndpoint
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