#[non_exhaustive]pub enum MetaCallStatus {
Ok,
Failed,
TimeoutOrHeartbeat,
Unsupported,
}Expand description
Classification tag for a meta-service call.
Returned by LeanMetaResponse::status without inspecting the
payload. #[non_exhaustive] so future capability refinements can
extend the taxonomy without breaking exhaustive matches downstream.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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 moreSource§impl Debug for MetaCallStatus
impl Debug for MetaCallStatus
Source§impl PartialEq for MetaCallStatus
impl PartialEq for MetaCallStatus
Source§fn eq(&self, other: &MetaCallStatus) -> bool
fn eq(&self, other: &MetaCallStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MetaCallStatus
impl Eq 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