[]Struct haiku::app::ROSTER

pub struct ROSTER { /* fields omitted */ }

The ROSTER gives access to a global Roster object that can be used to communicate with Haiku's registrar that tracks all the running Haiku applications.

Methods from Deref<Target = Roster>

pub fn get_app_list(&self) -> Option<Vec<Team>>[src]

Get a list of teams that are currently running

If there is a problem connecting to the registrar, this method will return None.

pub fn get_running_app_info(&self, team: &Team) -> Option<AppInfo>[src]

Get the information of a running application

If there is a problem connecting to the registrar, this method will return None.

pub fn get_app_info(&self, signature: &str) -> Option<AppInfo>[src]

Get the information of an application with a certain signature

If there is a problem connecting tot the registrar, this method will return None. Get the information of a running application

If there is a problem connecting to the registrar, this method will return None.

Trait Implementations

impl Deref for ROSTER

type Target = Roster

The resulting type after dereferencing.

impl LazyStatic for ROSTER

Auto Trait Implementations

impl RefUnwindSafe for ROSTER

impl Send for ROSTER

impl Sync for ROSTER

impl Unpin for ROSTER

impl UnwindSafe for ROSTER

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.