pub struct SessionBinding {
pub tmux_session: String,
pub connected_threads: Vec<String>,
pub output_tx: Sender<OutputChunk>,
}Expand description
A live connection between a channel thread and a tmux session.
Fields§
§tmux_session: Stringtmux session name (e.g. “orch-myproject-42”)
connected_threads: Vec<String>Channel threads connected to this session.
Each entry is a canonical conversation key produced by
conversation_key. The format is either:
"channel:thread_id"(no topic), or"channel:thread_id|topic_id"(with topic/thread)
Use parse_conversation_key to decompose a key back into its parts.
output_tx: Sender<OutputChunk>Broadcast sender for output streaming
Trait Implementations§
Source§impl Clone for SessionBinding
impl Clone for SessionBinding
Auto Trait Implementations§
impl !RefUnwindSafe for SessionBinding
impl !UnwindSafe for SessionBinding
impl Freeze for SessionBinding
impl Send for SessionBinding
impl Sync for SessionBinding
impl Unpin for SessionBinding
impl UnsafeUnpin for SessionBinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more