[][src]Crate wakey

Library for managing Wake-on-LAN packets.

Example

let wol = wakey::WolPacket::from_string("01:02:03:04:05:06", ':');
match wol.send_magic() {
    Ok(_) => println!("Sent the magic packet!"),
    Err(_) => println!("Failed to send the magic packet!")
}

Structs

WolPacket

Wake-on-LAN packet