pub struct DecodeAdmissionSketch { /* private fields */ }Expand description
Bounded, content-free projection of decoder work.
The sketch contains only decoder-mechanism bits and saturating cost counters. It carries no source bytes, offsets, values, or content-derived hashes, so it is safe to persist as part of autoroute workload identity.
Implementations§
Source§impl DecodeAdmissionSketch
impl DecodeAdmissionSketch
pub const BASE64: u32
pub const HEX: u32
pub const URL: u32
pub const QUOTED_PRINTABLE: u32
pub const HTML_NAMED_ENTITY: u32
pub const HTML_NUMERIC_ENTITY: u32
pub const OCTAL_ESCAPE: u32
pub const MIME_ENCODED_WORD: u32
pub const JSON: u32
pub const UNICODE_ESCAPE: u32
pub const Z85: u32
pub const JAVASCRIPT_STATIC: u32
pub const REVERSE: u32
pub const CAESAR: u32
Sourcepub const COMPRESSED_CONTAINER: u32
pub const COMPRESSED_CONTAINER: u32
Bounded gzip/zlib inflation reached through the base64 decoder.
pub const NONE: Self
pub const UNKNOWN: Self
pub const fn kind_mask(self) -> u32
pub const fn candidate_count(self) -> u16
pub const fn candidate_bytes(self) -> u32
pub const fn has_unknown(self) -> bool
pub fn merge(&mut self, other: Self)
Trait Implementations§
Source§impl Clone for DecodeAdmissionSketch
impl Clone for DecodeAdmissionSketch
Source§fn clone(&self) -> DecodeAdmissionSketch
fn clone(&self) -> DecodeAdmissionSketch
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 moreimpl Copy for DecodeAdmissionSketch
Source§impl Debug for DecodeAdmissionSketch
impl Debug for DecodeAdmissionSketch
Source§impl Default for DecodeAdmissionSketch
impl Default for DecodeAdmissionSketch
Source§fn default() -> DecodeAdmissionSketch
fn default() -> DecodeAdmissionSketch
Returns the “default value” for a type. Read more
impl Eq for DecodeAdmissionSketch
Source§impl Hash for DecodeAdmissionSketch
impl Hash for DecodeAdmissionSketch
Source§impl PartialEq for DecodeAdmissionSketch
impl PartialEq for DecodeAdmissionSketch
impl StructuralPartialEq for DecodeAdmissionSketch
Auto Trait Implementations§
impl Freeze for DecodeAdmissionSketch
impl RefUnwindSafe for DecodeAdmissionSketch
impl Send for DecodeAdmissionSketch
impl Sync for DecodeAdmissionSketch
impl Unpin for DecodeAdmissionSketch
impl UnsafeUnpin for DecodeAdmissionSketch
impl UnwindSafe for DecodeAdmissionSketch
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more