pub enum GetInvocationKeyError {
RequestFailure(Error),
InvalidHeaderValue(InvalidHeaderValue),
UnexpectedStatus(StatusCode),
Status504,
Status404 {
error: String,
},
Status403 {
error: String,
},
Status400 {
errors: Vec<String>,
},
Status500 {
golem_error: GolemError,
},
Status409 {
error: String,
},
}
Variants§
RequestFailure(Error)
InvalidHeaderValue(InvalidHeaderValue)
UnexpectedStatus(StatusCode)
Status504
Status404
Status403
Status400
Status500
Fields
§
golem_error: GolemError
Status409
Implementations§
source§impl GetInvocationKeyError
impl GetInvocationKeyError
pub fn to_instance_endpoint_error(&self) -> Option<InstanceEndpointError>
Trait Implementations§
source§impl From<Error> for GetInvocationKeyError
impl From<Error> for GetInvocationKeyError
source§fn from(error: Error) -> GetInvocationKeyError
fn from(error: Error) -> GetInvocationKeyError
Converts to this type from the input type.
source§impl From<InvalidHeaderValue> for GetInvocationKeyError
impl From<InvalidHeaderValue> for GetInvocationKeyError
source§fn from(error: InvalidHeaderValue) -> GetInvocationKeyError
fn from(error: InvalidHeaderValue) -> GetInvocationKeyError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GetInvocationKeyError
impl Send for GetInvocationKeyError
impl Sync for GetInvocationKeyError
impl Unpin for GetInvocationKeyError
impl !UnwindSafe for GetInvocationKeyError
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