Skip to main content

open

Function open 

Source
pub fn open(url: &str) -> Result<Arc<dyn Transport>, DispatchError>
Expand description

Open a transport for the given URL. Returns a type-erased Arc so callers can treat all schemes uniformly.

Low-level scheme dispatch only — it does NOT enforce the credential gate. Production push / fetch / pull paths go through open_trusted; open stays public for file/memory integration tests that have no ambient credentials to fence.