pub enum WorkerError {
Show 15 variants
Unknown(String),
InvalidRequest(String),
StackOverflow,
OutOfMemory,
ExceededMemoryLimit,
InternalError(String),
DeterministicTrap(String),
TransientError(String),
PermanentError(String),
ExceededTableLimit,
ExceededHttpCallLimit,
ExceededRpcCallLimit,
NodeOutOfFilesystemStorage,
AgentExceededFilesystemStorageLimit,
AgentTerminatedByQuota(AgentTerminatedByQuotaError),
}Expand description
Describes the error that occurred in the agent
Variants§
Unknown(String)
InvalidRequest(String)
StackOverflow
OutOfMemory
ExceededMemoryLimit
InternalError(String)
DeterministicTrap(String)
TransientError(String)
PermanentError(String)
ExceededTableLimit
ExceededHttpCallLimit
ExceededRpcCallLimit
NodeOutOfFilesystemStorage
AgentExceededFilesystemStorageLimit
AgentTerminatedByQuota(AgentTerminatedByQuotaError)
Trait Implementations§
Source§impl Clone for WorkerError
impl Clone for WorkerError
Source§fn clone(&self) -> WorkerError
fn clone(&self) -> WorkerError
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for WorkerError
impl RefUnwindSafe for WorkerError
impl Send for WorkerError
impl Sync for WorkerError
impl Unpin for WorkerError
impl UnsafeUnpin for WorkerError
impl UnwindSafe for WorkerError
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