pub enum MetaCallStatus {
Ok,
Failed,
TimeoutOrHeartbeat,
Unsupported,
}Expand description
Classification tag for a meta-service call.
Returned by LeanMetaResponse::status without inspecting the
payload.
Variants§
Ok
The MetaM action returned a typed payload.
Failed
The MetaM action raised a non-resource-exhaustion exception
(type error, unbound metavariable, …).
TimeoutOrHeartbeat
The heartbeat ceiling tripped before the action finished.
Equivalent to Lean.Exception.isMaxHeartbeat matching on the
caught exception.
Unsupported
The capability does not expose this service—either the Lean
shim returned unsupported for the request shape, or the
loaded capability does not export the service’s C symbol.
Trait Implementations§
Source§impl Clone for MetaCallStatus
impl Clone for MetaCallStatus
Source§fn clone(&self) -> MetaCallStatus
fn clone(&self) -> MetaCallStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MetaCallStatus
Source§impl Debug for MetaCallStatus
impl Debug for MetaCallStatus
impl Eq for MetaCallStatus
Source§impl PartialEq for MetaCallStatus
impl PartialEq for MetaCallStatus
impl StructuralPartialEq for MetaCallStatus
Auto Trait Implementations§
impl Freeze for MetaCallStatus
impl RefUnwindSafe for MetaCallStatus
impl Send for MetaCallStatus
impl Sync for MetaCallStatus
impl Unpin for MetaCallStatus
impl UnsafeUnpin for MetaCallStatus
impl UnwindSafe for MetaCallStatus
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