[]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.

Trait Implementations

impl Deref for ROSTER

type Target = Roster

The resulting type after dereferencing.

impl LazyStatic for ROSTER

Auto Trait Implementations

impl Send for ROSTER

impl Sync for ROSTER

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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