pub type PushCallback = Arc<dyn Fn(u64, u16, Bytes, SystemTime) + Send + Sync + 'static>;Expand description
后端推送回调 Backend push callback with the producing connection generation attached.
The generation is part of the delivery identity: callers must not infer a push source by probing whichever connection happens to be current after the frame was received.
Aliased Type§
pub struct PushCallback { /* private fields */ }