pub struct StreamComponent;Expand description
The Stream component routes exchange bodies to/from the process’s standard streams.
Implementations§
Trait Implementations§
Source§impl Component for StreamComponent
impl Component for StreamComponent
Source§fn metadata(&self) -> ComponentMetadata
fn metadata(&self) -> ComponentMetadata
Declare this component’s metadata (URI options, capabilities, version). Read more
Source§fn create_endpoint(
&self,
uri: &str,
_ctx: &dyn ComponentContext,
) -> Result<Box<dyn Endpoint>, CamelError>
fn create_endpoint( &self, uri: &str, _ctx: &dyn ComponentContext, ) -> Result<Box<dyn Endpoint>, CamelError>
Create an endpoint from a URI string.
Auto Trait Implementations§
impl Freeze for StreamComponent
impl RefUnwindSafe for StreamComponent
impl Send for StreamComponent
impl Sync for StreamComponent
impl Unpin for StreamComponent
impl UnsafeUnpin for StreamComponent
impl UnwindSafe for StreamComponent
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