Skip to main content

init

Function init 

Source
pub fn init(config: &Config) -> Result<Built, ScopeError>
Expand description

Builds and installs the transport the first time; later calls return the installed transport with no notices.

ยงErrors

Returns an error when the transport cannot be built, or when SCOPE_HTTP_MODE selects replay or record but transport() already installed a different transport (the run must not use the network).