pub struct PackageReadLimits {
pub max_entries: usize,
pub max_part_uncompressed_bytes: u64,
pub max_total_uncompressed_bytes: u64,
}Expand description
Resource limits applied while expanding an OPC ZIP archive.
Fields§
§max_entries: usize§max_part_uncompressed_bytes: u64§max_total_uncompressed_bytes: u64Implementations§
Source§impl PackageReadLimits
impl PackageReadLimits
pub const UNBOUNDED: PackageReadLimits
Trait Implementations§
Source§impl Clone for PackageReadLimits
impl Clone for PackageReadLimits
Source§fn clone(&self) -> PackageReadLimits
fn clone(&self) -> PackageReadLimits
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 PackageReadLimits
Source§impl Debug for PackageReadLimits
impl Debug for PackageReadLimits
impl Eq for PackageReadLimits
Source§impl PartialEq for PackageReadLimits
impl PartialEq for PackageReadLimits
impl StructuralPartialEq for PackageReadLimits
Auto Trait Implementations§
impl Freeze for PackageReadLimits
impl RefUnwindSafe for PackageReadLimits
impl Send for PackageReadLimits
impl Sync for PackageReadLimits
impl Unpin for PackageReadLimits
impl UnsafeUnpin for PackageReadLimits
impl UnwindSafe for PackageReadLimits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.