pub enum FetchTruncationReason {
CompressedBytes,
DecodedBytes,
BodyCharacters,
ParserComplexity,
}Expand description
Why a fetch body was truncated.
Variants§
CompressedBytes
Compressed bytes exceeded the transport bound.
DecodedBytes
Decoded bytes exceeded the transport bound.
BodyCharacters
Extracted body characters reached the request limit.
ParserComplexity
The content parser reached its complexity or structure bound.
Trait Implementations§
Source§impl Clone for FetchTruncationReason
impl Clone for FetchTruncationReason
impl Copy for FetchTruncationReason
Source§impl Debug for FetchTruncationReason
impl Debug for FetchTruncationReason
Source§impl<'de> Deserialize<'de> for FetchTruncationReason
impl<'de> Deserialize<'de> for FetchTruncationReason
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 FetchTruncationReason
Source§impl PartialEq for FetchTruncationReason
impl PartialEq for FetchTruncationReason
Source§impl Serialize for FetchTruncationReason
impl Serialize for FetchTruncationReason
impl StructuralPartialEq for FetchTruncationReason
Auto Trait Implementations§
impl Freeze for FetchTruncationReason
impl RefUnwindSafe for FetchTruncationReason
impl Send for FetchTruncationReason
impl Sync for FetchTruncationReason
impl Unpin for FetchTruncationReason
impl UnsafeUnpin for FetchTruncationReason
impl UnwindSafe for FetchTruncationReason
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.