pub struct WsComponent { /* private fields */ }Implementations§
Source§impl WsComponent
impl WsComponent
pub fn new() -> Self
pub fn with_config(config: WsConfig) -> Self
Trait Implementations§
Source§impl Component for WsComponent
impl Component for WsComponent
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 WsComponent
impl RefUnwindSafe for WsComponent
impl Send for WsComponent
impl Sync for WsComponent
impl Unpin for WsComponent
impl UnsafeUnpin for WsComponent
impl UnwindSafe for WsComponent
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