pub struct BindToDevice;
Expand description
Bind this socket to a particular device like “eth0”.
Trait Implementations§
source§impl Clone for BindToDevice
impl Clone for BindToDevice
source§fn clone(&self) -> BindToDevice
fn clone(&self) -> BindToDevice
Returns a copy 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 more