Enum sentry::routes::campaign::insert_events::EventError
source · pub enum EventError {
EventPayoutOverflow,
FeeCalculation(DomainError),
CampaignRemainingNotEnoughForPayout,
CampaignOutOfBudget,
}
Variants
EventPayoutOverflow
FeeCalculation(DomainError)
CampaignRemainingNotEnoughForPayout
CampaignOutOfBudget
Trait Implementations
sourceimpl Debug for EventError
impl Debug for EventError
sourceimpl Display for EventError
impl Display for EventError
sourceimpl Error for EventError
impl Error for EventError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<DomainError> for EventError
impl From<DomainError> for EventError
sourceimpl From<EventError> for Error
impl From<EventError> for Error
sourcefn from(source: EventError) -> Self
fn from(source: EventError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<EventError> for EventError
impl PartialEq<EventError> for EventError
sourcefn eq(&self, other: &EventError) -> bool
fn eq(&self, other: &EventError) -> bool
impl Eq for EventError
impl StructuralEq for EventError
impl StructuralPartialEq for EventError
Auto Trait Implementations
impl RefUnwindSafe for EventError
impl Send for EventError
impl Sync for EventError
impl Unpin for EventError
impl UnwindSafe for EventError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.