Enum golem_client::model::WorkerEndpointError
source · pub enum WorkerEndpointError {
BadRequest {
errors: Vec<String>,
},
Unauthorized {
error: String,
},
LimitExceeded {
error: String,
},
Golem {
golem_error: GolemError,
},
GatewayTimeout {},
NotFound {
error: String,
},
AlreadyExists {
error: String,
},
}
Variants§
BadRequest
Fields
LimitExceeded
Golem
Fields
§
golem_error: GolemError
GatewayTimeout
Fields
NotFound
AlreadyExists
Trait Implementations§
source§impl Clone for WorkerEndpointError
impl Clone for WorkerEndpointError
source§fn clone(&self) -> WorkerEndpointError
fn clone(&self) -> WorkerEndpointError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WorkerEndpointError
impl Debug for WorkerEndpointError
source§impl<'de> Deserialize<'de> for WorkerEndpointError
impl<'de> Deserialize<'de> for WorkerEndpointError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for WorkerEndpointError
impl PartialEq for WorkerEndpointError
source§fn eq(&self, other: &WorkerEndpointError) -> bool
fn eq(&self, other: &WorkerEndpointError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WorkerEndpointError
impl Serialize for WorkerEndpointError
impl Eq for WorkerEndpointError
impl StructuralEq for WorkerEndpointError
impl StructuralPartialEq for WorkerEndpointError
Auto Trait Implementations§
impl RefUnwindSafe for WorkerEndpointError
impl Send for WorkerEndpointError
impl Sync for WorkerEndpointError
impl Unpin for WorkerEndpointError
impl UnwindSafe for WorkerEndpointError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.