Struct machine_id::MachineId [] [src]

pub struct MachineId {
    // some fields omitted
}

A machine-specific ID.

Methods

impl MachineId
[src]

fn get() -> MachineId

Retrieves or generates the machine-specific ID.

Trait Implementations

impl Copy for MachineId
[src]

impl Clone for MachineId
[src]

fn clone(&self) -> MachineId

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for MachineId
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for MachineId
[src]

impl PartialEq for MachineId
[src]

fn eq(&self, __arg_0: &MachineId) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &MachineId) -> bool

This method tests for !=.

impl Display for MachineId
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.