pub enum DaemonMessage {
Hello {
protocol: u32,
version: String,
pid: u32,
},
Reply {
id: u64,
outcome: Outcome,
},
Event(Event),
}Variants§
Trait Implementations§
Source§impl Clone for DaemonMessage
impl Clone for DaemonMessage
Source§impl Debug for DaemonMessage
impl Debug for DaemonMessage
Source§impl<'de> Deserialize<'de> for DaemonMessage
impl<'de> Deserialize<'de> for DaemonMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DaemonMessage
impl PartialEq for DaemonMessage
Source§impl Serialize for DaemonMessage
impl Serialize for DaemonMessage
impl StructuralPartialEq for DaemonMessage
Auto Trait Implementations§
impl Freeze for DaemonMessage
impl RefUnwindSafe for DaemonMessage
impl Send for DaemonMessage
impl Sync for DaemonMessage
impl Unpin for DaemonMessage
impl UnsafeUnpin for DaemonMessage
impl UnwindSafe for DaemonMessage
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