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
sourceimpl Debug for ProjectIdParseError
impl Debug for ProjectIdParseError
sourceimpl Display for ProjectIdParseError
impl Display for ProjectIdParseError
sourceimpl Fail for ProjectIdParseError
impl Fail for ProjectIdParseError
sourcepub fn cause(&self) -> Option<&(dyn Fail + 'static)>
pub 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
sourcepub fn backtrace(&self) -> Option<&Backtrace>
pub fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace
carried by this failure, if it
carries one. Read more
sourceimpl Ord for ProjectIdParseError
impl Ord for ProjectIdParseError
sourceimpl PartialOrd<ProjectIdParseError> for ProjectIdParseError
impl PartialOrd<ProjectIdParseError> for ProjectIdParseError
sourcepub fn partial_cmp(&self, other: &ProjectIdParseError) -> Option<Ordering>
pub fn partial_cmp(&self, other: &ProjectIdParseError) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl 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
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.