pub struct DecodeLimits {
pub max_window_size: u64,
pub max_output: u64,
}Available on crate feature
caller-workspace only.Expand description
Limits a WorkspaceDecoder holds every frame of the stream to.
Fields§
§max_window_size: u64Largest window a frame may declare. Also sizes the workspace; see
workspace_bytes.
max_output: u64Most decompressed bytes the whole stream may produce.
Implementations§
Source§impl DecodeLimits
impl DecodeLimits
Trait Implementations§
Source§impl Clone for DecodeLimits
impl Clone for DecodeLimits
impl Copy for DecodeLimits
Source§impl Debug for DecodeLimits
impl Debug for DecodeLimits
impl Eq for DecodeLimits
Source§impl PartialEq for DecodeLimits
impl PartialEq for DecodeLimits
impl StructuralPartialEq for DecodeLimits
Auto Trait Implementations§
impl Freeze for DecodeLimits
impl RefUnwindSafe for DecodeLimits
impl Send for DecodeLimits
impl Sync for DecodeLimits
impl Unpin for DecodeLimits
impl UnsafeUnpin for DecodeLimits
impl UnwindSafe for DecodeLimits
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