Enum sentry_types::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
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
sourceimpl Ord for ProjectIdParseError
impl Ord for ProjectIdParseError
sourceimpl PartialOrd<ProjectIdParseError> for ProjectIdParseError
impl PartialOrd<ProjectIdParseError> for ProjectIdParseError
sourcefn 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
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