pub struct ProcessIdentity {
pub app_id: Option<String>,
pub development_app_id: Option<String>,
pub app_name: Option<String>,
pub workspace_id: Option<String>,
pub account_name: Option<String>,
pub continuity_resume: Option<ContinuationMetadata>,
pub continuity_instance: Option<String>,
pub collab_service_configured: bool,
pub managed_agent_context: bool,
}Expand description
Who this process is and which workspace it serves; every field is optional, and each reader applies its own fallback.
Fields§
§app_id: Option<String>§development_app_id: Option<String>§app_name: Option<String>§workspace_id: Option<String>§account_name: Option<String>§continuity_resume: Option<ContinuationMetadata>§continuity_instance: Option<String>§collab_service_configured: boolThe launcher configured a collaboration service for this process, so its absence is a failure rather than a standalone launch.
managed_agent_context: boolThe process runs as an admitted managed agent, which receives task work on its own broker queue instead of the room’s task-run stream.
Implementations§
Source§impl ProcessIdentity
impl ProcessIdentity
Sourcepub fn media_player_bus_name(&self, fallback_app_id: &str) -> String
pub fn media_player_bus_name(&self, fallback_app_id: &str) -> String
The MPRIS bus name this process’s media player goes by: its app’s
(media_player_bus_name), else fallback_app_id’s, so an app run
outside a launcher still names its player.
Trait Implementations§
Source§impl Clone for ProcessIdentity
impl Clone for ProcessIdentity
Source§impl Debug for ProcessIdentity
impl Debug for ProcessIdentity
Source§impl Default for ProcessIdentity
impl Default for ProcessIdentity
impl Eq for ProcessIdentity
Source§impl PartialEq for ProcessIdentity
impl PartialEq for ProcessIdentity
impl StructuralPartialEq for ProcessIdentity
Auto Trait Implementations§
impl Forget for ProcessIdentity
impl Freeze for ProcessIdentity
impl Move for ProcessIdentity
impl RefUnwindSafe for ProcessIdentity
impl Send for ProcessIdentity
impl Sync for ProcessIdentity
impl Unpin for ProcessIdentity
impl UnsafeUnpin for ProcessIdentity
impl UnwindSafe for ProcessIdentity
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