heim-host 0.0.11

Cross-platform host information
Documentation
use std::net::IpAddr;

use heim_common::prelude::*;
use heim_common::Pid;

#[derive(Debug)]
pub struct User;

impl User {
    pub fn username(&self) -> &str {
        unimplemented!("https://github.com/heim-rs/heim/issues/141")
    }

    pub fn terminal(&self) -> &str {
        unimplemented!("https://github.com/heim-rs/heim/issues/141")
    }

    pub fn id(&self) -> &str {
        unimplemented!("https://github.com/heim-rs/heim/issues/141")
    }

    pub fn pid(&self) -> Pid {
        unimplemented!("https://github.com/heim-rs/heim/issues/141")
    }

    pub fn hostname(&self) -> &str {
        unimplemented!("https://github.com/heim-rs/heim/issues/141")
    }

    pub fn address(&self) -> Option<IpAddr> {
        unimplemented!("https://github.com/heim-rs/heim/issues/141")
    }

    pub fn session_id(&self) -> i32 {
        unimplemented!("https://github.com/heim-rs/heim/issues/141")
    }
}

pub fn users() -> impl Stream<Item = Result<User>> {
    stream::iter(vec![])
}