Enum glib::UriError [−][src]
#[non_exhaustive] pub enum UriError { Failed, BadScheme, BadUser, BadPassword, BadAuthParams, BadHost, BadPort, BadPath, BadQuery, BadFragment, // some variants omitted }
v2_66
only.Expand description
Error codes returned by Uri
methods.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Generic error if no more specific error is available. See the error message for details.
The scheme of a URI could not be parsed.
The user/userinfo of a URI could not be parsed.
The password of a URI could not be parsed.
The authentication parameters of a URI could not be parsed.
The host of a URI could not be parsed.
The port of a URI could not be parsed.
The path of a URI could not be parsed.
The query of a URI could not be parsed.
The fragment of a URI could not be parsed.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for UriError
impl UnwindSafe for UriError
Blanket Implementations
Mutably borrows from an owned value. Read more