pub trait NetworkWait: Board {
// Required method
fn wait_link_up() -> Result<(), NetworkError>;
}Expand description
Carrier / DHCP / link-up gate for IP-aware transports.
Required Methods§
Sourcefn wait_link_up() -> Result<(), NetworkError>
fn wait_link_up() -> Result<(), NetworkError>
Block until the board’s IP stack is ready: carrier detected, DHCP lease acquired (or static IP applied), default route installed. Returns when the executor can open sockets.
Returning Err ends boot via
super::BoardExit::exit_failure. Ok proceeds into the
setup callback.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.