Skip to main content

Message

Type Alias Message 

Source
pub type Message = Box<dyn Any + Send>;
Expand description

A value sent to a connection or endpoint from another thread (crate::ConnHandle, crate::EndpointHandle, Ctx::offload). Downcast it with msg.downcast::<T>().

Aliased Typeยง

pub struct Message(/* private fields */);