pub enum PanelFrame {
Hello {
session: PanelSession,
},
State {
cwd: String,
agent: String,
},
Panel {
focus: PanelTab,
},
Preview {
kind: PreviewKind,
target: String,
},
Stream {
delta: String,
},
Bye,
}Expand description
murmur → Hub frames.
Variants§
Hello
Sent once per connection, immediately on accept.
Fields
§
session: PanelSessionState
Reserved for later phases (cwd/agent changes mid-session).
Panel
/panel <tab> — open/focus the Panel window on a tab.
Preview
/panel preview <target> — set preview target (rendered in P3).
Stream
Live agent-output delta (P4; sent only while the session gate is on).
Bye
Trait Implementations§
Source§impl Clone for PanelFrame
impl Clone for PanelFrame
Source§fn clone(&self) -> PanelFrame
fn clone(&self) -> PanelFrame
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 PanelFrame
impl Debug for PanelFrame
Source§impl<'de> Deserialize<'de> for PanelFrame
impl<'de> Deserialize<'de> for PanelFrame
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 PanelFrame
impl RefUnwindSafe for PanelFrame
impl Send for PanelFrame
impl Sync for PanelFrame
impl Unpin for PanelFrame
impl UnsafeUnpin for PanelFrame
impl UnwindSafe for PanelFrame
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