pub struct RwhodSendTarget {
pub name: String,
pub addr: IpAddr,
}Fields§
§name: StringName of the network interface.
addr: IpAddrAddress to send rwhod packets to. This is either the broadcast address (for broadcast interfaces) or the point-to-point destination address (for point-to-point interfaces).
Trait Implementations§
Source§impl Clone for RwhodSendTarget
impl Clone for RwhodSendTarget
Source§fn clone(&self) -> RwhodSendTarget
fn clone(&self) -> RwhodSendTarget
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 moreAuto Trait Implementations§
impl Freeze for RwhodSendTarget
impl RefUnwindSafe for RwhodSendTarget
impl Send for RwhodSendTarget
impl Sync for RwhodSendTarget
impl Unpin for RwhodSendTarget
impl UnwindSafe for RwhodSendTarget
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