Skip to main content

set_current_backend

Function set_current_backend 

Source
pub fn set_current_backend(b: CurrentBackend)
Expand description

Record the backend identity captured during a handshake. Called by the ACP adapter after initialize. Overwrites any prior value.

ยงPanics

Only if the internal lock is poisoned (a writer panicked while holding it), which indicates a logic bug rather than a runtime condition.