pub struct AffectedApplication { /* private fields */ }Expand description
One application or service using a registered resource.
Implementations§
Source§impl AffectedApplication
impl AffectedApplication
Sourcepub fn display_name(&self) -> &OsStr
pub fn display_name(&self) -> &OsStr
Returns the display name without lossy Unicode conversion.
Sourcepub fn service_name(&self) -> Option<&OsStr>
pub fn service_name(&self) -> Option<&OsStr>
Returns the service short name for service entries.
Sourcepub const fn application_type(&self) -> ApplicationType
pub const fn application_type(&self) -> ApplicationType
Returns the kind reported by Windows.
Sourcepub const fn status(&self) -> ApplicationStatus
pub const fn status(&self) -> ApplicationStatus
Returns the accumulated status/history bits.
Sourcepub const fn is_restartable(&self) -> bool
pub const fn is_restartable(&self) -> bool
Reports whether Windows can restart this application.
Sourcepub const fn process(&self) -> Option<ProcessIdentity>
pub const fn process(&self) -> Option<ProcessIdentity>
Returns the process identity, if this entry has a valid process.
Sourcepub const fn terminal_session_id(&self) -> Option<u32>
pub const fn terminal_session_id(&self) -> Option<u32>
Returns the Terminal Services session ID when Windows supplied one.
Trait Implementations§
Source§impl Clone for AffectedApplication
impl Clone for AffectedApplication
Source§fn clone(&self) -> AffectedApplication
fn clone(&self) -> AffectedApplication
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 AffectedApplication
impl Debug for AffectedApplication
impl Eq for AffectedApplication
Source§impl PartialEq for AffectedApplication
impl PartialEq for AffectedApplication
impl StructuralPartialEq for AffectedApplication
Auto Trait Implementations§
impl Freeze for AffectedApplication
impl RefUnwindSafe for AffectedApplication
impl Send for AffectedApplication
impl Sync for AffectedApplication
impl Unpin for AffectedApplication
impl UnsafeUnpin for AffectedApplication
impl UnwindSafe for AffectedApplication
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