#[non_exhaustive]pub enum ConfigError {
OwnPort,
Renewal,
ResponseTimeout,
BbmdPort,
BbmdAddress,
BbmdIsSelf,
Budget,
NotForeign,
MulticastMode,
}Expand description
Why a Link can’t run.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OwnPort
The node’s own UDP port is 0.
Renewal
A foreign device’s time-to-live is 0, or its renewal interval isn’t above zero and below the time-to-live.
ResponseTimeout
A foreign device’s response timeout is zero.
BbmdPort
A foreign device’s BBMD has UDP port 0.
BbmdAddress
A foreign device’s BBMD is the unspecified address or a group
address (Groups::contains), which no
BBMD answers from.
BbmdIsSelf
A foreign device’s BBMD is the node itself.
Budget
The datagram budget is below MIN_BUDGET octets.
NotForeign
Node::retarget on a node that is not a
foreign device.
MulticastMode
A multicast group as the subnet’s broadcast address (B/IP-M, Annex
J.8) in Mode::Foreign: a foreign device broadcasts through its
BBMD, never to a group.
Trait Implementations§
Source§impl Clone for ConfigError
impl Clone for ConfigError
impl Copy for ConfigError
Source§impl Debug for ConfigError
impl Debug for ConfigError
Source§impl Display for ConfigError
impl Display for ConfigError
impl Eq for ConfigError
Source§impl Error for ConfigError
impl Error for ConfigError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ConfigError
impl PartialEq for ConfigError
impl StructuralPartialEq for ConfigError
Auto Trait Implementations§
impl Freeze for ConfigError
impl RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl UnsafeUnpin for ConfigError
impl UnwindSafe for ConfigError
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