[][src]Struct reef::Env

pub struct Env { /* fields omitted */ }

A structure to represent errors coming out of the reef library A Result type for the reef library Metadata about the environment

Implementations

impl Env[src]

pub fn username(&self) -> &str[src]

The user name

pub fn hostname(&self) -> &str[src]

The host name

pub fn distro(&self) -> &str[src]

The distro nane

pub fn realname(&self) -> &str[src]

The real name for the user

pub fn devicename(&self) -> &str[src]

The device name

Trait Implementations

impl Clone for Env[src]

impl Debug for Env[src]

impl Default for Env[src]

impl<'de> Deserialize<'de> for Env[src]

impl Eq for Env[src]

impl Ord for Env[src]

impl PartialEq<Env> for Env[src]

impl PartialOrd<Env> for Env[src]

impl Serialize for Env[src]

impl StructuralEq for Env[src]

impl StructuralPartialEq for Env[src]

Auto Trait Implementations

impl RefUnwindSafe for Env

impl Send for Env

impl Sync for Env

impl Unpin for Env

impl UnwindSafe for Env

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,