Skip to main content

Handler

Type Alias Handler 

Source
pub type Handler<T> = Arc<dyn Fn(&dyn IFerroRemoteTransportConnection, &T) + Send + Sync>;
Expand description

Action<IFerroRemoteTransportConnection, T>: a handler of an event of a connection.

Aliased Typeยง

pub struct Handler<T> { /* private fields */ }