pub fn try_from_bstr<'a>( input: impl Into<Cow<'a, BStr>>, ) -> Result<Cow<'a, Path>, Utf8Error>
Similar to from_byte_slice(), but takes either borrowed or owned input.
from_byte_slice()
input