pub trait DequeueCallbacks {
    type Value;
    type OnPopBack: Callback<Self::Value>;
    type OnPopFront: Callback<Self::Value>;
    type OnPushBack: Callback<Self::Value>;
    type OnPushFront: Callback<Self::Value>;
    type OnClear: EmptyCallback;
}
Expand description

Represents store of dequeue’s action callbacks.

Required Associated Types§

source

type Value

Callback relative type.

This value should be the main item of dequeue, which uses this callbacks store.

source

type OnPopBack: Callback<Self::Value>

Callback on success pop_back.

source

type OnPopFront: Callback<Self::Value>

Callback on success pop_front.

source

type OnPushBack: Callback<Self::Value>

Callback on success push_back.

source

type OnPushFront: Callback<Self::Value>

Callback on success push_front.

source

type OnClear: EmptyCallback

Callback on success clear.

Object Safety§

This trait is not object safe.

Implementors§