Skip to main content

split_scheme

Function split_scheme 

Source
pub fn split_scheme(spec: &str) -> (Option<&str>, &str)
Expand description

Split <scheme>://<rest>. A value with no :// carries no transport, which each field answers for itself: for data_path a bare value is a path already mounted, for a source spec it is an error naming the transports.