pub struct LiveSession {
pub address: MailAddress,
pub name: String,
pub status: String,
pub door: Door,
pub pid: Option<u32>,
pub cwd: Option<PathBuf>,
pub tmux: Option<String>,
}Expand description
One running session on this machine, as the router reaches it.
Fields§
§address: MailAddressIts address.
name: StringThe name an agent knows it by (volter-2c@machine).
status: StringIts status as its harness reports it (busy, idle, hosted, …).
door: DoorThe door that reaches it.
pid: Option<u32>The process running it, when the harness names one (a hosted runtime’s host, a Claude session’s own process).
cwd: Option<PathBuf>Its working directory.
tmux: Option<String>The tmux session and pane it runs in, when Claude records one.
Trait Implementations§
Source§impl Clone for LiveSession
impl Clone for LiveSession
Source§impl Debug for LiveSession
impl Debug for LiveSession
impl Eq for LiveSession
Source§impl PartialEq for LiveSession
impl PartialEq for LiveSession
impl StructuralPartialEq for LiveSession
Auto Trait Implementations§
impl Freeze for LiveSession
impl RefUnwindSafe for LiveSession
impl Send for LiveSession
impl Sync for LiveSession
impl Unpin for LiveSession
impl UnsafeUnpin for LiveSession
impl UnwindSafe for LiveSession
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.