pub struct DeviceBinding {
pub bound_if: Option<InterfaceId>,
}Expand description
Ordinary socket interface binding.
Fields§
§bound_if: Option<InterfaceId>If set, route selection is constrained to this interface.
Trait Implementations§
Source§impl Clone for DeviceBinding
impl Clone for DeviceBinding
Source§fn clone(&self) -> DeviceBinding
fn clone(&self) -> DeviceBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceBinding
Source§impl Debug for DeviceBinding
impl Debug for DeviceBinding
Source§impl Default for DeviceBinding
impl Default for DeviceBinding
Source§fn default() -> DeviceBinding
fn default() -> DeviceBinding
Returns the “default value” for a type. Read more
impl Eq for DeviceBinding
Source§impl PartialEq for DeviceBinding
impl PartialEq for DeviceBinding
impl StructuralPartialEq for DeviceBinding
Auto Trait Implementations§
impl Freeze for DeviceBinding
impl RefUnwindSafe for DeviceBinding
impl Send for DeviceBinding
impl Sync for DeviceBinding
impl Unpin for DeviceBinding
impl UnsafeUnpin for DeviceBinding
impl UnwindSafe for DeviceBinding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DmaPod for Twhere
T: Copy,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.