pub struct Vertx<CM: 'static + ClusterManager + Send + Sync + RefUnwindSafe> { /* private fields */ }
Implementations§
Source§impl<CM: 'static + ClusterManager + Send + Sync + RefUnwindSafe> Vertx<CM>
impl<CM: 'static + ClusterManager + Send + Sync + RefUnwindSafe> Vertx<CM>
pub fn new(options: VertxOptions) -> Vertx<CM>
pub fn set_cluster_manager(&mut self, cm: CM)
pub async fn start(&self)
pub async fn create_http_server(&self) -> HttpServer<CM>
pub async fn create_net_server(&self) -> &'static mut NetServer<CM>
pub async fn event_bus(&self) -> Arc<EventBus<CM>>
pub async fn stop(&self)
Auto Trait Implementations§
impl<CM> Freeze for Vertx<CM>
impl<CM> RefUnwindSafe for Vertx<CM>
impl<CM> Send for Vertx<CM>
impl<CM> Sync for Vertx<CM>
impl<CM> Unpin for Vertx<CM>where
CM: Unpin,
impl<CM> UnwindSafe for Vertx<CM>where
CM: UnwindSafe,
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