Crate wakey

source ·
Expand description

Library for managing Wake-on-LAN packets.

Example

let wol = wakey::WolPacket::from_string("01:02:03:04:05:06", ':').unwrap();
if wol.send_magic().is_ok() {
    println!("Sent the magic packet!");
} else {
    println!("Failed to send the magic packet!");
}

Structs

Wake-on-LAN packet

Enums

Wrapper Error for fiascoes occuring in this module.

Type Definitions

Wrapper Result for the module errors.