Trait plckit::MessageDeliveryPolicy
source · pub trait MessageDeliveryPolicywhere
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§
sourcefn delivery_policy(&self) -> DeliveryPolicy
fn delivery_policy(&self) -> DeliveryPolicy
Delivery policy
sourcefn eq_kind(&self, other: &Self) -> bool
fn eq_kind(&self, other: &Self) -> bool
Has equal kind with other
(default: check enum discriminant)
sourcefn is_expired(&self) -> bool
fn is_expired(&self) -> bool
Used to clean up expired values if no room
Object Safety§
This trait is not object safe.