pub enum Error {
AndroidEnvironment,
MalformedUri,
NoHandler,
Unknown,
}
Expand description
Errors encountered when opening a URI.
Variants§
AndroidEnvironment
Could not acquire the android environment.
See the android-env
crate for more details.
MalformedUri
The provided URI was malformed.
NoHandler
No handler was available to open the URI.
Unknown
An unknown error occurred.
Note that on certain platforms if a handler is not available this error variant will be returned, as the error returned by the operating system is not fine-grained enough.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more