pub enum Status {
Ok,
Partial,
Cancelled,
DeadlineExceeded,
Error(u16),
}Expand description
Execution outcome status.
Variants§
Ok
Execution completed successfully.
Partial
Partial result available (streaming response).
Cancelled
Request was cancelled via CANCEL(request_id).
DeadlineExceeded
Deadline expired before completion.
Error(u16)
Execution failed with a deterministic numeric error code.
The value is the numeric representation of the domain-level error code
(see nodedb::bridge::envelope::ErrorCode in the main crate for the
authoritative mapping). The bridge layer stays code-free to avoid
duplicating rich error variant logic across crates.
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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