Skip to main content

TRUSTED_TYPE_CTOR

Constant TRUSTED_TYPE_CTOR 

Source
pub const TRUSTED_TYPE_CTOR: &'static str;
Expand description

Type constructor names the checker recognises at the AST level. Both take a single generic parameter (Trusted<HttpBody>, Untrusted<WsFrame>). The parameter itself is an arbitrary type; the refinement is carried by the constructor.