[−][src]Struct jsmx::SharedExchange
Methods
impl SharedExchange
[src]
pub fn new() -> SharedExchange
[src]
pub fn push(
&self,
_descriptor_prefix: &str,
_descriptor_suffix: &str,
_msg: &Value
)
[src]
&self,
_descriptor_prefix: &str,
_descriptor_suffix: &str,
_msg: &Value
)
pub fn listen<F>(
&self,
_selector_prefix: &str,
_selector_suffix: &str,
_callback: F
) where
F: 'static + FnMut(&Value),
[src]
&self,
_selector_prefix: &str,
_selector_suffix: &str,
_callback: F
) where
F: 'static + FnMut(&Value),
Auto Trait Implementations
impl RefUnwindSafe for SharedExchange
impl Send for SharedExchange
impl Sync for SharedExchange
impl Unpin for SharedExchange
impl UnwindSafe for SharedExchange
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,