#[repr(i32)]pub enum MessageKind {
LIFECYCLE = 0,
APPLICATION = 1,
}Expand description
Separates shared lifecycle operation IDs from application-owned operation IDs.
Variants§
LIFECYCLE = 0
Operations maintained by kunobi-daemon.
APPLICATION = 1
Operations maintained by the application, starting at 1.
Implementations§
Source§impl MessageKind
impl MessageKind
Sourcepub const Lifecycle: Self = Self::LIFECYCLE
pub const Lifecycle: Self = Self::LIFECYCLE
Idiomatic alias for Self::LIFECYCLE; Debug prints the variant name.
Sourcepub const Application: Self = Self::APPLICATION
pub const Application: Self = Self::APPLICATION
Idiomatic alias for Self::APPLICATION; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for MessageKind
impl Clone for MessageKind
impl Copy for MessageKind
Source§impl Debug for MessageKind
impl Debug for MessageKind
Source§impl Default for MessageKind
impl Default for MessageKind
Source§impl Enumeration for MessageKind
impl Enumeration for MessageKind
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for MessageKind
Source§impl Hash for MessageKind
impl Hash for MessageKind
Source§impl PartialEq for MessageKind
impl PartialEq for MessageKind
impl StructuralPartialEq for MessageKind
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