Skip to main content

ServerHandle

Type Alias ServerHandle 

Source
pub type ServerHandle = Arc<dyn Any + Send + Sync>;
Expand description

A type-erased handle to a running server instance.

Produced by Arc::new(my_handle) in a protocol’s spawn(), consumed by AppState::server_handle::<MyHandle>() on the action path.

Aliased Type§

pub struct ServerHandle { /* private fields */ }