pub(crate) struct AgentMuxWindowInfo {
pub(crate) window: Window,
pub(crate) pid: u32,
pub(crate) title: String,
pub(crate) exe_path: String,
pub(crate) is_self: bool,
pub(crate) is_agentmux: bool,
pub(crate) tier: CaptureTier,
}Expand description
One top-level window visible to this process, with the metadata both
DiscoverWindows and CaptureWindow need. Shared via
enumerate_agentmux_windows() so the two tools can’t drift on what counts
as “AgentMux’s own window”, “the calling agent’s own instance”, or which
tier a target falls in.
Fields§
§window: Window§pid: u32§title: String§exe_path: String§is_self: bool§is_agentmux: boolWhether the owning process is an AgentMux process at all — T4 targets are enumerated now, so this is no longer implied by presence in the list.
tier: CaptureTierAuto Trait Implementations§
impl Freeze for AgentMuxWindowInfo
impl RefUnwindSafe for AgentMuxWindowInfo
impl Send for AgentMuxWindowInfo
impl Sync for AgentMuxWindowInfo
impl Unpin for AgentMuxWindowInfo
impl UnsafeUnpin for AgentMuxWindowInfo
impl UnwindSafe for AgentMuxWindowInfo
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.