Enum sentry::internals::ProjectIdParseError
source · pub enum ProjectIdParseError {
InvalidValue,
EmptyValue,
}
Expand description
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§
source§impl Debug for ProjectIdParseError
impl Debug for ProjectIdParseError
source§impl Display for ProjectIdParseError
impl Display for ProjectIdParseError
source§impl Fail for ProjectIdParseError
impl Fail for ProjectIdParseError
source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§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 moresource§impl Ord for ProjectIdParseError
impl Ord for ProjectIdParseError
source§fn cmp(&self, other: &ProjectIdParseError) -> Ordering
fn cmp(&self, other: &ProjectIdParseError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ProjectIdParseError> for ProjectIdParseError
impl PartialEq<ProjectIdParseError> for ProjectIdParseError
source§fn eq(&self, other: &ProjectIdParseError) -> bool
fn eq(&self, other: &ProjectIdParseError) -> bool
source§impl PartialOrd<ProjectIdParseError> for ProjectIdParseError
impl PartialOrd<ProjectIdParseError> for ProjectIdParseError
source§fn partial_cmp(&self, other: &ProjectIdParseError) -> Option<Ordering>
fn partial_cmp(&self, other: &ProjectIdParseError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moreimpl Eq for ProjectIdParseError
impl StructuralEq for ProjectIdParseError
impl StructuralPartialEq for ProjectIdParseError
Auto Trait Implementations§
impl RefUnwindSafe for ProjectIdParseError
impl Send for ProjectIdParseError
impl Sync for ProjectIdParseError
impl Unpin for ProjectIdParseError
impl UnwindSafe for ProjectIdParseError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.