pub enum RouteProbe {
Present {
route_version: String,
},
Absent,
Unlicensed,
AuthGated,
Denied {
code: String,
message: String,
traceback: Option<String>,
},
}Expand description
The presence/version discrimination — the probe enum. The status
code IS the answer (deliberately NOT run through classify, the
super::GatewayApi::webdev_route_status precedent); only
transport failures are errors.
Variants§
Present
200 + ok body from the version action: deployed and answering
its handshake routeVersion.
Absent
405 — the live-proven 8.3 absent marker (missing route or missing project; NOT 404).
Unlicensed
402 — the WebDev module is installed but unlicensed (trial-expired gateway).
AuthGated
401/403 — something answers at the path but rejects the credential: present but auth-gated (research Open Question 4’s resolution: report, never conflate with absent).
Denied
200 body denial ({ok:false, error{code,message}}) — present
and refusing: the scriptExec gate’s secret_required /
secret_mismatch, or any other stable route-contract code.
Fields
Trait Implementations§
Source§impl Clone for RouteProbe
impl Clone for RouteProbe
Source§fn clone(&self) -> RouteProbe
fn clone(&self) -> RouteProbe
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RouteProbe
impl Debug for RouteProbe
impl Eq for RouteProbe
Source§impl PartialEq for RouteProbe
impl PartialEq for RouteProbe
impl StructuralPartialEq for RouteProbe
Auto Trait Implementations§
impl Freeze for RouteProbe
impl RefUnwindSafe for RouteProbe
impl Send for RouteProbe
impl Sync for RouteProbe
impl Unpin for RouteProbe
impl UnsafeUnpin for RouteProbe
impl UnwindSafe for RouteProbe
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.