Enum sentry_types::DsnParseError
source · [−]pub enum DsnParseError {
InvalidUrl,
InvalidScheme,
NoUsername,
NoProjectId,
InvalidProjectId(ProjectIdParseError),
}
Expand description
Represents a dsn url parsing error.
Variants
InvalidUrl
raised on completely invalid urls
InvalidScheme
raised the scheme is invalid / unsupported.
NoUsername
raised if the username (public key) portion is missing.
NoProjectId
raised the project is is missing (first path component)
InvalidProjectId(ProjectIdParseError)
raised the project id is invalid.
Trait Implementations
sourceimpl Debug for DsnParseError
impl Debug for DsnParseError
sourceimpl Display for DsnParseError
impl Display for DsnParseError
sourceimpl Fail for DsnParseError
impl Fail for DsnParseError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace
carried by this failure, if it
carries one. Read more
Auto Trait Implementations
impl RefUnwindSafe for DsnParseError
impl Send for DsnParseError
impl Sync for DsnParseError
impl Unpin for DsnParseError
impl UnwindSafe for DsnParseError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more