pub enum CancelDataRepositoryTaskError {
BadRequest(String),
DataRepositoryTaskEnded(String),
DataRepositoryTaskNotFound(String),
InternalServerError(String),
UnsupportedOperation(String),
}Expand description
Errors returned by CancelDataRepositoryTask
Variants§
BadRequest(String)
A generic error indicating a failure with a client request.
DataRepositoryTaskEnded(String)
The data repository task could not be canceled because the task has already ended.
DataRepositoryTaskNotFound(String)
The data repository task or tasks you specified could not be found.
InternalServerError(String)
A generic error indicating a server-side failure.
UnsupportedOperation(String)
The requested operation is not supported for this resource or API.
Implementations§
Trait Implementations§
Source§impl Error for CancelDataRepositoryTaskError
impl Error for CancelDataRepositoryTaskError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for CancelDataRepositoryTaskError
impl PartialEq for CancelDataRepositoryTaskError
Source§fn eq(&self, other: &CancelDataRepositoryTaskError) -> bool
fn eq(&self, other: &CancelDataRepositoryTaskError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CancelDataRepositoryTaskError
Auto Trait Implementations§
impl Freeze for CancelDataRepositoryTaskError
impl RefUnwindSafe for CancelDataRepositoryTaskError
impl Send for CancelDataRepositoryTaskError
impl Sync for CancelDataRepositoryTaskError
impl Unpin for CancelDataRepositoryTaskError
impl UnwindSafe for CancelDataRepositoryTaskError
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