pub enum MessageKind {
Event,
Job,
}Variants§
Trait Implementations§
Source§impl Clone for MessageKind
impl Clone for MessageKind
impl Copy for MessageKind
Source§impl Debug for MessageKind
impl Debug for MessageKind
impl Eq for MessageKind
Source§impl PartialEq for MessageKind
impl PartialEq for MessageKind
impl StructuralPartialEq for MessageKind
Source§impl Variants for MessageKind
impl Variants for MessageKind
const TYPE: &'static str = "message kind"
const VARIANTS: &'static [(&'static str, Self)]
Source§const PATH: &'static str = Self::TYPE
const PATH: &'static str = Self::TYPE
Module-qualified, so two enums of one name keep their recorded moves apart.
const TRANSITIONS: &'static [(Self, Self)] = _
fn name(self) -> &'static str
fn to(self, next: Self) -> Result<Self, Error>
Auto Trait Implementations§
impl Freeze for MessageKind
impl RefUnwindSafe for MessageKind
impl Send for MessageKind
impl Sync for MessageKind
impl Unpin for MessageKind
impl UnsafeUnpin for MessageKind
impl UnwindSafe for MessageKind
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