Enum actix_tools::sentry::sentry_client::internals::ProjectIdParseError [−]
pub enum ProjectIdParseError { InvalidValue, EmptyValue, }
Raised if a project ID cannot be parsed from a string.
Variants
InvalidValue
Raised if the value is not an integer in the supported range.
EmptyValue
Raised if an empty value is parsed.
Trait Implementations
impl Fail for ProjectIdParseError
impl Fail for ProjectIdParseError
fn 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 PartialOrd<ProjectIdParseError> for ProjectIdParseError
impl PartialOrd<ProjectIdParseError> for ProjectIdParseError
fn partial_cmp(&self, other: &ProjectIdParseError) -> Option<Ordering>
fn partial_cmp(&self, other: &ProjectIdParseError) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Display for ProjectIdParseError
impl Display for ProjectIdParseError
fn 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 ProjectIdParseError
impl Debug for ProjectIdParseError
fn 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 Ord for ProjectIdParseError
impl Ord for ProjectIdParseError
fn cmp(&self, other: &ProjectIdParseError) -> Ordering
fn cmp(&self, other: &ProjectIdParseError) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Eq for ProjectIdParseError
impl Eq for ProjectIdParseError
impl PartialEq<ProjectIdParseError> for ProjectIdParseError
impl PartialEq<ProjectIdParseError> for ProjectIdParseError
Auto Trait Implementations
impl Send for ProjectIdParseError
impl Send for ProjectIdParseError
impl Sync for ProjectIdParseError
impl Sync for ProjectIdParseError