Type Alias valence_network::CleanupFn
source · pub type CleanupFn = Box<dyn FnOnce() + Send + Sync + 'static>;
Expand description
A callback function called when the associated client is dropped. See
NetworkCallbacks::login
for more information.
Aliased Type§
struct CleanupFn(/* private fields */);