pub enum Ipv4PresentAddressStatus {
LimitedBroadcast,
SubnetBroadcast,
Multicast,
Unicast,
LoopbackSubnet,
}
Expand description
The status of an IPv4 address.
Variants§
LimitedBroadcast
SubnetBroadcast
Multicast
Unicast
LoopbackSubnet
This status indicates that the queried device was Loopback. The address
belongs to a subnet that is assigned to the interface. This status
takes lower precedence than Unicast
and SubnetBroadcast``, E.g. if the loopback device is assigned
127.0.0.1/8`:
- address
127.0.0.1
->Unicast
- address
127.0.0.2
->LoopbackSubnet
- address
127.255.255.255
->SubnetBroadcast
This exists for Linux conformance, which on the Loopback device, considers an IPv4 address assigned if it belongs to one of the device’s assigned subnets.
Trait Implementations§
Source§impl Debug for Ipv4PresentAddressStatus
impl Debug for Ipv4PresentAddressStatus
Source§impl PartialEq for Ipv4PresentAddressStatus
impl PartialEq for Ipv4PresentAddressStatus
impl StructuralPartialEq for Ipv4PresentAddressStatus
Auto Trait Implementations§
impl Freeze for Ipv4PresentAddressStatus
impl RefUnwindSafe for Ipv4PresentAddressStatus
impl Send for Ipv4PresentAddressStatus
impl Sync for Ipv4PresentAddressStatus
impl Unpin for Ipv4PresentAddressStatus
impl UnwindSafe for Ipv4PresentAddressStatus
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<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
Source§impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
Source§fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
Send a frame. Read more
Source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
Source§fn handle_timer(
&mut self,
bindings_ctx: &mut BC,
dispatch: Id,
timer: <BC as TimerBindingsTypes>::UniqueTimerId,
)
fn handle_timer( &mut self, bindings_ctx: &mut BC, dispatch: Id, timer: <BC as TimerBindingsTypes>::UniqueTimerId, )
Handle a timer firing. Read more