pub enum MuxUIEvent {
PaneOutput {
pane_id: String,
data: String,
timestamp: DateTime<Utc>,
},
PaneExit {
pane_id: String,
exit_code: Option<i32>,
timestamp: DateTime<Utc>,
},
SessionCreated {
session_id: String,
name: String,
timestamp: DateTime<Utc>,
},
PaneCreated {
pane_id: String,
session_id: String,
timestamp: DateTime<Utc>,
},
MuxError {
error: String,
context: Option<String>,
timestamp: DateTime<Utc>,
},
}
Expand description
Events emitted to the UI for mux operations
Variants§
PaneOutput
Pane produced output
PaneExit
Pane process exited
SessionCreated
Session created
PaneCreated
Pane created
MuxError
Error occurred
Trait Implementations§
Source§impl Clone for MuxUIEvent
impl Clone for MuxUIEvent
Source§fn clone(&self) -> MuxUIEvent
fn clone(&self) -> MuxUIEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 MuxUIEvent
impl Debug for MuxUIEvent
Source§impl<'de> Deserialize<'de> for MuxUIEvent
impl<'de> Deserialize<'de> for MuxUIEvent
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 MuxUIEvent
impl RefUnwindSafe for MuxUIEvent
impl Send for MuxUIEvent
impl Sync for MuxUIEvent
impl Unpin for MuxUIEvent
impl UnwindSafe for MuxUIEvent
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