Skip to main content

TransportBringup

Trait TransportBringup 

Source
pub trait TransportBringup: Board {
    // Required method
    fn init_transport() -> Result<(), TransportError>;
}
Expand description

Per-board transport bringup contract.

Required Methods§

Source

fn init_transport() -> Result<(), TransportError>

Bring the link layer up. Returns when the link is at L2 (Ethernet frames flow / WiFi associated / UART open at baud / CAN bus listening) but BEFORE any L3/IP state. The super::NetworkWait mixin handles DHCP / link-up gating.

Returning Err ends boot via super::BoardExit::exit_failure.

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.

Implementors§