Skip to main content

builder

Function builder 

Source
pub fn builder() -> BridgeBuilder<(), (), NoDelay>
Expand description

Returns a BridgeBuilder for constructing a Bridge.

Equivalent to Bridge::builder(), but avoids type-inference failures that occur when the compiler cannot deduce the Bridge type parameters from context (e.g. in Embassy tasks where the UART type is known only later in the builder chain).

Prefer this over Bridge::builder() in generic or no-infer contexts.