#[non_exhaustive]pub enum ChunkTruncation {
Budget,
Overlong,
}Expand description
Why a ContentChunks stopped before the end of its content.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Budget
A stream decoded past its budget
(crate::filters::MAX_DECODE_RATIO times its encoded size).
Overlong
No complete operator within the largest window.
Trait Implementations§
Source§impl Clone for ChunkTruncation
impl Clone for ChunkTruncation
impl Copy for ChunkTruncation
Source§impl Debug for ChunkTruncation
impl Debug for ChunkTruncation
impl Eq for ChunkTruncation
Source§impl PartialEq for ChunkTruncation
impl PartialEq for ChunkTruncation
impl StructuralPartialEq for ChunkTruncation
Auto Trait Implementations§
impl Forget for ChunkTruncation
impl Freeze for ChunkTruncation
impl Move for ChunkTruncation
impl RefUnwindSafe for ChunkTruncation
impl Send for ChunkTruncation
impl Sync for ChunkTruncation
impl Unpin for ChunkTruncation
impl UnsafeUnpin for ChunkTruncation
impl UnwindSafe for ChunkTruncation
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