pub enum FunctionInvocationError {
NotRegistered {
function_id: FunctionId,
},
Timeout {
function_id: FunctionId,
timeout_ms: u64,
},
RunnerUnavailable {
reason: String,
},
UserError {
function_id: FunctionId,
message: String,
stack: Option<String>,
},
Transport(String),
InvalidPatch(String),
}Variants§
NotRegistered
Fields
§
function_id: FunctionIdTimeout
UserError
Transport(String)
InvalidPatch(String)
Trait Implementations§
Source§impl Debug for FunctionInvocationError
impl Debug for FunctionInvocationError
Source§impl Display for FunctionInvocationError
impl Display for FunctionInvocationError
Source§impl Error for FunctionInvocationError
impl Error for FunctionInvocationError
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()
Auto Trait Implementations§
impl Freeze for FunctionInvocationError
impl RefUnwindSafe for FunctionInvocationError
impl Send for FunctionInvocationError
impl Sync for FunctionInvocationError
impl Unpin for FunctionInvocationError
impl UnsafeUnpin for FunctionInvocationError
impl UnwindSafe for FunctionInvocationError
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