pub struct WolOptions {
pub broadcast_address: String,
pub port: u16,
pub retries: u32,
}Expand description
Options for configuring Wake-on-LAN packet sending
Fields§
§broadcast_address: StringBroadcast address to send the packet to (default: 255.255.255.255)
port: u16Port to send the packet to (default: 65530)
retries: u32Number of times to send the packet (default: 1)
Trait Implementations§
Source§impl Clone for WolOptions
impl Clone for WolOptions
Source§fn clone(&self) -> WolOptions
fn clone(&self) -> WolOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WolOptions
impl Debug for WolOptions
Auto Trait Implementations§
impl Freeze for WolOptions
impl RefUnwindSafe for WolOptions
impl Send for WolOptions
impl Sync for WolOptions
impl Unpin for WolOptions
impl UnwindSafe for WolOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more