pub enum InvokeAndAwaitFunctionError {
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 InvokeAndAwaitFunctionError
impl InvokeAndAwaitFunctionError
pub fn to_instance_endpoint_error(&self) -> Option<InstanceEndpointError>
Trait Implementations§
source§impl From<Error> for InvokeAndAwaitFunctionError
impl From<Error> for InvokeAndAwaitFunctionError
source§fn from(error: Error) -> InvokeAndAwaitFunctionError
fn from(error: Error) -> InvokeAndAwaitFunctionError
Converts to this type from the input type.
source§impl From<InvalidHeaderValue> for InvokeAndAwaitFunctionError
impl From<InvalidHeaderValue> for InvokeAndAwaitFunctionError
source§fn from(error: InvalidHeaderValue) -> InvokeAndAwaitFunctionError
fn from(error: InvalidHeaderValue) -> InvokeAndAwaitFunctionError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for InvokeAndAwaitFunctionError
impl Send for InvokeAndAwaitFunctionError
impl Sync for InvokeAndAwaitFunctionError
impl Unpin for InvokeAndAwaitFunctionError
impl !UnwindSafe for InvokeAndAwaitFunctionError
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