pub enum DaemonMessage {
Attached,
Output(Vec<u8>),
ReplayStart,
ReplayEnd,
ChildExited {
code: Option<i32>,
},
Error(String),
}Expand description
Messages sent from daemon to client
Variants§
Attached
Successfully attached
Output(Vec<u8>)
Output data from PTY
ReplayStart
Replay of buffered history is starting (client should suppress rendering)
ReplayEnd
Replay of buffered history is complete (client should resume rendering)
ChildExited
Child process exited
Error(String)
Error occurred
Trait Implementations§
Source§impl Clone for DaemonMessage
impl Clone for DaemonMessage
Source§fn clone(&self) -> DaemonMessage
fn clone(&self) -> DaemonMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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
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