Enum actix_tools::sentry::sentry_client::internals::DsnParseError [−]
pub enum DsnParseError {
InvalidUrl,
InvalidScheme,
NoUsername,
NoProjectId,
InvalidProjectId(ProjectIdParseError),
}Represents a dsn url parsing error.
Variants
InvalidUrlraised on completely invalid urls
InvalidSchemeraised the scheme is invalid / unsupported.
NoUsernameraised if the username (public key) portion is missing.
NoProjectIdraised the project is is missing (first path component)
InvalidProjectId(ProjectIdParseError)raised the project id is invalid.
Trait Implementations
impl Fail for DsnParseError
impl Fail for DsnParseErrorfn cause(&self) -> Option<&(Fail + 'static)>
fn cause(&self) -> Option<&(Fail + 'static)>Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn 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
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static, Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
fn compat(self) -> Compat<Self>Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more
impl Display for DsnParseError
impl Display for DsnParseErrorfn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Debug for DsnParseError
impl Debug for DsnParseErrorAuto Trait Implementations
impl Send for DsnParseError
impl Send for DsnParseErrorimpl Sync for DsnParseError
impl Sync for DsnParseError