pub fn into_localpath(self) -> Result<&'a str, UriError> {
        match self {
            Uri::LocalPath(x) => Ok(x),
            #[cfg(any(feature = "s3", feature = "s3-rustls"))]
            Uri::S3Object(x) => Err(UriError::ExpectedSLocalPathUri(format!("{}", x))),
            #[cfg(feature = "azure")]
            Uri::AdlsGen2Object(x) => Err(UriError::ExpectedSLocalPathUri(format!("{}", x))),
        }
    }
/// Converts the URI to an str representing a local file system path. Returns UriError if the
/// URI is not valid for the file storage backend.
Converts the URI to an str representing a local file system path. Returns UriError if the
URI is not valid for the file storage backend.
Converts the URI to an str representing a local file system path . Returns UriError if the URI is not valid for the file storage backend .
pub fn into_localpath(self) -> Result<&'a str, UriError> {
        match self {
            Uri::LocalPath(x) => Ok(x),
            #[cfg(any(feature = "s3", feature = "s3-rustls"))]
            Uri::S3Object(x) => Err(UriError::ExpectedSLocalPathUri(format!("{}", x))),
            #[cfg(feature = "azure")]
            Uri::AdlsGen2Object(x) => Err(UriError::ExpectedSLocalPathUri(format!("{}", x))),
        }
    }
pub fn into_localpath ( self ) -> Result < & ' a str , UriError > { match self { Uri :: LocalPath ( x ) => Ok ( x ) , # [ cfg ( any ( feature " " feature " " ) ) ] Uri :: S3Object ( x ) => Err ( UriError :: ExpectedSLocalPathUri ( format ! ( " " x ) ) ) , # [ cfg ( feature " " ) ] Uri :: AdlsGen2Object ( x ) => Err ( UriError :: ExpectedSLocalPathUri ( format ! ( " " x ) ) ) , } }
Converts the URI to an str representing a local file system path.
Converts the URI to an str representing a local file system path .
self
self