#[non_exhaustive]pub struct Decoded {
pub data: Vec<u8>,
pub flate_truncated: bool,
pub characters_skipped: bool,
}Expand description
Decoded stream data.
Added in 0.2.0.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data: Vec<u8>The decoded bytes.
flate_truncated: boolTrue when Flate data was truncated or had a bad checksum and the partial output was
kept (the reader reports it as the flate-truncated warning).
characters_skipped: boolTrue when ASCIIHexDecode or ASCII85Decode data held characters outside the filter’s
alphabet, which were skipped as other readers skip them (the reader reports it as the
filter-characters-skipped warning).
Added in 0.4.0.
Trait Implementations§
impl Eq for Decoded
impl StructuralPartialEq for Decoded
Auto Trait Implementations§
impl Forget for Decoded
impl Freeze for Decoded
impl Move for Decoded
impl RefUnwindSafe for Decoded
impl Send for Decodedwhere
RawVecInner: Send,
impl Sync for Decodedwhere
RawVecInner: Sync,
impl Unpin for Decoded
impl UnsafeUnpin for Decoded
impl UnwindSafe for Decodedwhere
RawVecInner: UnwindSafe,
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