[][src]Struct vertx_rust::vertx::EventBus

pub struct EventBus<CM: 'static + ClusterManager + Send + Sync> { /* fields omitted */ }

Implementations

impl<CM: 'static + ClusterManager + Send + Sync> EventBus<CM>[src]

pub fn new(options: EventBusOptions) -> EventBus<CM>[src]

pub fn consumer<OP>(&self, address: &str, op: OP) where
    OP: Fn(&mut Message, Arc<EventBus<CM>>) + Send + 'static + Sync
[src]

pub fn local_consumer<OP>(&self, address: &str, op: OP) where
    OP: Fn(&mut Message, Arc<EventBus<CM>>) + Send + 'static + Sync
[src]

pub fn send(&self, address: &str, request: Vec<u8>)[src]

pub fn publish(&self, address: &str, request: Vec<u8>)[src]

pub fn request<OP>(&self, address: &str, request: Vec<u8>, op: OP) where
    OP: Fn(&Message, Arc<EventBus<CM>>) + Send + 'static + Sync
[src]

Auto Trait Implementations

impl<CM> !RefUnwindSafe for EventBus<CM>[src]

impl<CM> Send for EventBus<CM>[src]

impl<CM> Sync for EventBus<CM>[src]

impl<CM> Unpin for EventBus<CM>[src]

impl<CM> !UnwindSafe for EventBus<CM>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,