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§

Enums§

  • Wrapper Error for fiascoes occuring in this module.

Type Aliases§

  • Wrapper Result for the module errors.