pub trait FetchResponseConfig: 'static + Send + Sync {
    type User: 'static + Send;

    fn respond(
        &self,
        space: Arc<KitsuneSpace>,
        user: Self::User,
        completion_guard: FetchResponseGuard,
        op: Arc<KitsuneOpData>
    ); fn byte_limit(&self) -> u32 { ... } fn concurrent_send_limit(&self) -> u32 { ... } }
Expand description

Customization by code making use of the FetchResponseQueue.

Required Associated Types§

Data that is forwarded.

Required Methods§

Send this fetch response.

Provided Methods§

Byte count allowed to be outstanding. Any ops requested to be enqueued over this amount will be dropped without responding.

Number of concurrent sends to allow.

Implementors§