Struct sysinfo::User[][src]

pub struct User { /* fields omitted */ }

Type containing user information.

It is returned by SystemExt::get_users.

use sysinfo::{System, SystemExt};

let s = System::new_all();
println!("users: {:?}", s.get_users());

Trait Implementations

impl Debug for User[src]

impl Eq for User[src]

impl Ord for User[src]

impl PartialEq<User> for User[src]

impl PartialOrd<User> for User[src]

impl StructuralEq for User[src]

impl StructuralPartialEq for User[src]

impl UserExt for User[src]

Auto Trait Implementations

impl RefUnwindSafe for User

impl Send for User

impl Sync for User

impl Unpin for User

impl UnwindSafe for User

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> Pointable for T[src]

type Init = T

The type for initializers.

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.