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 participation: 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>§participation: Option<String>How the launcher admitted the process to its workspace: author or read-only.
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§fn clone(&self) -> ProcessIdentity
fn clone(&self) -> ProcessIdentity
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 ProcessIdentity
impl Debug for ProcessIdentity
Source§impl Default for ProcessIdentity
impl Default for ProcessIdentity
Source§fn default() -> ProcessIdentity
fn default() -> ProcessIdentity
Returns the “default value” for a type. Read more
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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