Enum sdl2::url::OpenUrlError
source · pub enum OpenUrlError {
InvalidUrl(NulError),
SdlError(String),
}
Variants§
Trait Implementations§
source§impl Clone for OpenUrlError
impl Clone for OpenUrlError
source§fn clone(&self) -> OpenUrlError
fn clone(&self) -> OpenUrlError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OpenUrlError
impl Debug for OpenUrlError
source§impl Display for OpenUrlError
impl Display for OpenUrlError
source§impl Error for OpenUrlError
impl Error for OpenUrlError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
Auto Trait Implementations§
impl RefUnwindSafe for OpenUrlError
impl Send for OpenUrlError
impl Sync for OpenUrlError
impl Unpin for OpenUrlError
impl UnwindSafe for OpenUrlError
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