pub enum LimitExceeded {
ArchiveSize(u64),
EntryCount(u64),
MetadataSize(u64),
MemberSize(u64),
TotalSize(u64),
}Expand description
A ZIP resource limit and its configured maximum.
Variants§
ArchiveSize(u64)
The encoded archive exceeded the given byte limit.
EntryCount(u64)
The archive exceeded the given entry-count limit.
MetadataSize(u64)
Metadata exceeded the given byte limit.
MemberSize(u64)
A member’s uncompressed size exceeded the given byte limit.
TotalSize(u64)
Cumulative uncompressed sizes exceeded the given byte limit.
Trait Implementations§
Source§impl Clone for LimitExceeded
impl Clone for LimitExceeded
Source§fn clone(&self) -> LimitExceeded
fn clone(&self) -> LimitExceeded
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 LimitExceeded
Source§impl Debug for LimitExceeded
impl Debug for LimitExceeded
Source§impl Display for LimitExceeded
impl Display for LimitExceeded
impl Eq for LimitExceeded
Source§impl Error for LimitExceeded
impl Error for LimitExceeded
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<LimitExceeded> for EncodeError
impl From<LimitExceeded> for EncodeError
Source§fn from(source: LimitExceeded) -> Self
fn from(source: LimitExceeded) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LimitExceeded
impl PartialEq for LimitExceeded
impl StructuralPartialEq for LimitExceeded
Auto Trait Implementations§
impl Forget for LimitExceeded
impl Freeze for LimitExceeded
impl Move for LimitExceeded
impl RefUnwindSafe for LimitExceeded
impl Send for LimitExceeded
impl Sync for LimitExceeded
impl Unpin for LimitExceeded
impl UnsafeUnpin for LimitExceeded
impl UnwindSafe for LimitExceeded
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