Enum svc_scheduler::tasks::TaskError
source · pub enum TaskError {
NotFound,
Internal,
AlreadyProcessed,
InvalidMetadata,
InvalidUserId,
InvalidData,
ScheduleConflict,
}
Expand description
Errors that can occur when processing a task
Variants§
NotFound
Task id was not found
Internal
Internal error with updating task
AlreadyProcessed
Task was already processed
InvalidMetadata
Invalid metadata provided,
InvalidUserId
Invalid User ID provided
InvalidData
Invalid data provided
ScheduleConflict
Schedule Conflict
Trait Implementations§
source§impl PartialEq for TaskError
impl PartialEq for TaskError
impl Copy for TaskError
impl StructuralPartialEq for TaskError
Auto Trait Implementations§
impl RefUnwindSafe for TaskError
impl Send for TaskError
impl Sync for TaskError
impl Unpin for TaskError
impl UnwindSafe for TaskError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneAny for T
impl<T> CloneAny for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request