[][src]Struct haiku::app::Roster

pub struct Roster { /* fields omitted */ }

This struct provides information about applications on the Haiku system

This struct should be accessed through the static ROSTER reference. It is automatically initialized to retrieve information from Haiku's registrar.

Methods

impl Roster[src]

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.

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]