pub enum Priority {
Progress,
Notification,
Message,
Text,
Important,
}
Expand description
Priority
Variants§
Trait Implementations§
Source§impl Display for Priority
NOTE: The fmt::Display
implementation is how we format the enum for implementing the SSIP
protocol.
impl Display for Priority
NOTE: The fmt::Display
implementation is how we format the enum for implementing the SSIP
protocol.
The fmt::Display
impl either:
- Can not be changed,
- Must implement a different trait.
impl Eq for Priority
impl StructuralPartialEq for Priority
Auto Trait Implementations§
impl Freeze for Priority
impl RefUnwindSafe for Priority
impl Send for Priority
impl Sync for Priority
impl Unpin for Priority
impl UnwindSafe for Priority
Blanket Implementations§
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