pub struct To { /* private fields */ }Expand description
Sends the exchange to a named endpoint resolved from the CamelContext.
Holds a Weak<CamelContext> to avoid a cycle between context → route →
processor → context. The context outlives routes, so the weak reference
is only None during teardown.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for To
impl !RefUnwindSafe for To
impl Send for To
impl Sync for To
impl Unpin for To
impl UnsafeUnpin for To
impl !UnwindSafe for To
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