pub enum Response {
Show 38 variants
SessionCreated {
session_id: SessionId,
pane_id: PaneId,
},
SessionKilled,
Sessions(Vec<SessionInfo>),
SessionExists(bool),
WindowCreated {
window_id: WindowId,
pane_id: PaneId,
},
WindowKilled,
Windows(Vec<WindowInfo>),
WindowSelected,
PaneSplit {
pane_id: PaneId,
},
PaneKilled,
Panes(Vec<PaneInfo>),
PaneSelected,
PaneDetail(PaneInfo),
PaneResized,
KeysSent,
CaptureResult(CaptureResult),
WaitMatched {
matched: Option<String>,
line: Option<String>,
capture: Option<CaptureResult>,
},
ExecResult {
output: Option<CaptureResult>,
},
Subscribed {
stream_pipe: String,
},
OptionSet,
Pong,
ServerKilling,
ServerStatus(ServerStatusInfo),
MarkSet,
MarkRemoved,
Marks(Vec<MarkInfo>),
PanesSwapped,
PaneMoved,
LayoutApplied {
pane_ids: Vec<PaneId>,
},
LayoutSelected,
LayoutSaved,
LayoutLoaded {
pane_ids: Vec<PaneId>,
},
Layouts(Vec<LayoutListEntry>),
BatchResult {
responses: Vec<Response>,
},
Ok,
Error {
message: String,
},
AttachAccepted {
layout: LayoutInfo,
},
ConfigReloaded,
}Variants§
SessionCreated
SessionKilled
Sessions(Vec<SessionInfo>)
SessionExists(bool)
WindowCreated
WindowKilled
Windows(Vec<WindowInfo>)
WindowSelected
PaneSplit
PaneKilled
Panes(Vec<PaneInfo>)
PaneSelected
PaneDetail(PaneInfo)
PaneResized
KeysSent
CaptureResult(CaptureResult)
WaitMatched
ExecResult
Fields
§
output: Option<CaptureResult>Subscribed
OptionSet
Pong
ServerKilling
ServerStatus(ServerStatusInfo)
MarkSet
MarkRemoved
Marks(Vec<MarkInfo>)
PanesSwapped
PaneMoved
LayoutApplied
LayoutSelected
LayoutSaved
LayoutLoaded
Layouts(Vec<LayoutListEntry>)
BatchResult
Ok
Error
AttachAccepted
Fields
§
layout: LayoutInfoConfigReloaded
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
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 Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Response
impl UnwindSafe for Response
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