pub trait MessageDeliveryPolicy
where Self: Sized,
{ // Provided methods fn delivery_policy(&self) -> DeliveryPolicy { ... } fn priority(&self) -> usize { ... } fn eq_kind(&self, other: &Self) -> bool { ... } fn is_expired(&self) -> bool { ... } }
Expand description

Specify delivery policy for own data

Provided Methods§

source

fn delivery_policy(&self) -> DeliveryPolicy

Delivery policy

source

fn priority(&self) -> usize

Priority, for ordered

source

fn eq_kind(&self, other: &Self) -> bool

Has equal kind with other

(default: check enum discriminant)

source

fn is_expired(&self) -> bool

Used to clean up expired values if no room

Object Safety§

This trait is not object safe.

Implementors§