Skip to main content

WebDiscoveryEvidencePredicate

Struct WebDiscoveryEvidencePredicate 

Source
pub struct WebDiscoveryEvidencePredicate;
Expand description

Names-only observations produced by bounded exact-origin HTML discovery.

Route and form predicates carry canonical, query-free URLs. Query and control predicates carry names only. The vocabulary deliberately has no predicate for a query value, form value, response body, or authorization material.

Implementations§

Source§

impl WebDiscoveryEvidencePredicate

Source

pub const DOCUMENT_PROJECTED: PredicateDescriptor

A complete eligible HTML document was projected into typed discovery evidence.

Source

pub const DOCUMENT_BODY_INCOMPLETE: PredicateDescriptor

A committed GET response did not reach observed transport EOF and therefore cannot support complete-document discovery. HEAD is exempt.

Source

pub const DOCUMENT_PARTIAL_REPRESENTATION: PredicateDescriptor

HTTP 206 completed its bounded transfer but represents only a partial document and therefore was not projected as a complete HTML resource.

Source

pub const DOCUMENT_INVALID_UTF8: PredicateDescriptor

An otherwise eligible complete HTML body was not valid UTF-8 and was not parsed lossily.

Source

pub const DOCUMENT_ROUTE_LIMIT_REACHED: PredicateDescriptor

Valid route references exceeded the configured per-document ceiling.

Source

pub const DOCUMENT_FORM_LIMIT_REACHED: PredicateDescriptor

Valid forms exceeded the configured assessment ceiling.

Source

pub const DOCUMENT_CONTROL_LIMIT_REACHED: PredicateDescriptor

A retained form contained more names than the per-form control ceiling.

Source

pub const DOCUMENT_QUERY_NAME_LIMIT_REACHED: PredicateDescriptor

A route or form action contained more distinct query names than the configured per-reference ceiling.

Source

pub const DOCUMENT_URL_BYTE_LIMIT_REACHED: PredicateDescriptor

A reference was rejected before retention because its URL representation exceeded the configured byte ceiling.

Source

pub const ASSESSMENT_SUBJECT_LIMIT_REACHED: PredicateDescriptor

The assessment-wide canonical subject ceiling rejected at least one otherwise admissible route.

Source

pub const ASSESSMENT_DEPTH_LIMIT_REACHED: PredicateDescriptor

The assessment depth boundary rejected at least one otherwise admissible child route or form action.

Source

pub const ASSESSMENT_RETAINED_URL_BYTE_LIMIT_REACHED: PredicateDescriptor

The assessment-wide unique canonical URL byte envelope rejected at least one otherwise admissible route or form action.

Source

pub const DOCUMENT_OUTSIDE_ORIGIN_REFERENCE_COUNT: PredicateDescriptor

Number of valid HTTP(S) document references rejected because they did not match the authorized exact origin.

Source

pub const GET_ROUTE: PredicateDescriptor

One canonical query-free route eligible for a GET observation.

Source

pub const HEAD_ROUTE: PredicateDescriptor

One canonical query-free resource eligible for a HEAD observation.

Source

pub const ROUTE_QUERY_PARAMETER_NAMES: PredicateDescriptor

Sorted, de-duplicated query parameter names carried by one route reference.

Source

pub const GET_FORM_ACTION: PredicateDescriptor

One canonical query-free GET form action.

Source

pub const POST_FORM_ACTION: PredicateDescriptor

One canonical query-free POST form action. Discovery records it but does not dispatch it.

Source

pub const DIALOG_FORM_ACTION: PredicateDescriptor

One canonical query-free dialog form action. Discovery records it but does not dispatch it.

Source

pub const FORM_QUERY_PARAMETER_NAMES: PredicateDescriptor

Sorted, de-duplicated query parameter names carried by one form action.

Source

pub const FORM_CONTROL_NAMES: PredicateDescriptor

Sorted, de-duplicated HTML form-control names. Values are never present.

Source

pub const fn fixed() -> &'static [PredicateDescriptor]

Returns every fixed discovery descriptor in stable declaration order.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.