pub enum EventPriority {
Low,
Normal,
High,
Critical,
}Expand description
Event priority levels for filtering and handling
Allows classification of events by importance, enabling priority-based filtering and handling strategies.
§Examples
use rvoip_client_core::events::EventPriority;
assert!(EventPriority::Critical > EventPriority::High);
assert!(EventPriority::High > EventPriority::Normal);
assert!(EventPriority::Normal > EventPriority::Low);Variants§
Low
Low priority events (quality updates, routine status changes)
Normal
Normal priority events (state changes, DTMF, media events)
High
High priority events (incoming calls, registration changes)
Critical
Critical priority events (failures, security issues, network problems)
Trait Implementations§
Source§impl Clone for EventPriority
impl Clone for EventPriority
Source§fn clone(&self) -> EventPriority
fn clone(&self) -> EventPriority
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventPriority
impl Debug for EventPriority
Source§impl Ord for EventPriority
impl Ord for EventPriority
Source§fn cmp(&self, other: &EventPriority) -> Ordering
fn cmp(&self, other: &EventPriority) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EventPriority
impl PartialEq for EventPriority
Source§impl PartialOrd for EventPriority
impl PartialOrd for EventPriority
impl Eq for EventPriority
impl StructuralPartialEq for EventPriority
Auto Trait Implementations§
impl Freeze for EventPriority
impl RefUnwindSafe for EventPriority
impl Send for EventPriority
impl Sync for EventPriority
impl Unpin for EventPriority
impl UnwindSafe for EventPriority
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more