pub enum WebFetchTruncation {
CompressedBytes,
DecodedBytes,
BodyCharacters,
ParserComplexity,
}Expand description
Why a normalized client web-fetch body was truncated.
Variants§
CompressedBytes
Compressed bytes reached the transport bound.
DecodedBytes
Decoded bytes reached the decoding bound.
BodyCharacters
Extracted body characters reached the request bound.
ParserComplexity
Content extraction reached its parser-complexity bound.
Trait Implementations§
Source§impl Clone for WebFetchTruncation
impl Clone for WebFetchTruncation
Source§fn clone(&self) -> WebFetchTruncation
fn clone(&self) -> WebFetchTruncation
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 WebFetchTruncation
Source§impl Debug for WebFetchTruncation
impl Debug for WebFetchTruncation
Source§impl<'de> Deserialize<'de> for WebFetchTruncation
impl<'de> Deserialize<'de> for WebFetchTruncation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WebFetchTruncation
Source§impl Ord for WebFetchTruncation
impl Ord for WebFetchTruncation
Source§fn cmp(&self, other: &WebFetchTruncation) -> Ordering
fn cmp(&self, other: &WebFetchTruncation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WebFetchTruncation
impl PartialEq for WebFetchTruncation
Source§impl PartialOrd for WebFetchTruncation
impl PartialOrd for WebFetchTruncation
Source§impl Serialize for WebFetchTruncation
impl Serialize for WebFetchTruncation
impl StructuralPartialEq for WebFetchTruncation
Auto Trait Implementations§
impl Freeze for WebFetchTruncation
impl RefUnwindSafe for WebFetchTruncation
impl Send for WebFetchTruncation
impl Sync for WebFetchTruncation
impl Unpin for WebFetchTruncation
impl UnsafeUnpin for WebFetchTruncation
impl UnwindSafe for WebFetchTruncation
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