pub struct SessionInfo {
pub name: String,
pub cwd: Option<String>,
pub home_dir: PathBuf,
pub did: Option<String>,
pub handle: Option<String>,
pub daemon_running: bool,
}Expand description
Summary of one on-disk session for wire session list.
Fields§
§name: String§cwd: Option<String>First cwd associated with this session in the registry. None
if the session was created without registry tracking (manual
wire session new <name>).
home_dir: PathBuf§did: Option<String>§handle: Option<String>§daemon_running: boolTrue if a daemon.pid file exists AND the recorded PID is
actually a live process (best-effort, not POSIX-portable but
matches the existing wire status / wire doctor checks).
Trait Implementations§
Source§impl Clone for SessionInfo
impl Clone for SessionInfo
Source§fn clone(&self) -> SessionInfo
fn clone(&self) -> SessionInfo
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 SessionInfo
impl Debug for SessionInfo
Auto Trait Implementations§
impl Freeze for SessionInfo
impl RefUnwindSafe for SessionInfo
impl Send for SessionInfo
impl Sync for SessionInfo
impl Unpin for SessionInfo
impl UnsafeUnpin for SessionInfo
impl UnwindSafe for SessionInfo
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