machine_uuids 0.2.0

A library to retrieve a machines UUID
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::{error::Error, fmt};

#[derive(Debug, Clone)]
pub struct MachineIdError;

impl Error for MachineIdError {}

impl fmt::Display for MachineIdError {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        write!(f, "Oh no, something bad went down")
    }
}