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