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 moresource§impl Debug for BindToDevice
impl Debug for BindToDevice
source§impl GetSockOpt for BindToDevice
impl GetSockOpt for BindToDevice
source§impl Hash for BindToDevice
impl Hash for BindToDevice
source§impl PartialEq for BindToDevice
impl PartialEq for BindToDevice
source§impl SetSockOpt for BindToDevice
impl SetSockOpt for BindToDevice
impl Copy for BindToDevice
impl Eq for BindToDevice
impl StructuralPartialEq for BindToDevice
Auto Trait Implementations§
impl Freeze for BindToDevice
impl RefUnwindSafe for BindToDevice
impl Send for BindToDevice
impl Sync for BindToDevice
impl Unpin for BindToDevice
impl UnwindSafe for BindToDevice
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)