Enum zip_core::raw::parse::DynamicSizeError
source · pub enum DynamicSizeError {
NotContiguous,
UnsufficientExactBytes(usize),
UnsufficientAtLeastBytes(usize),
}
Variants§
NotContiguous
needed to get the size necessary before parsing. as we cannot undo the
advancing on a Buf. with std
its possible to get around this
limitation by using bytes::chunks_vectored, however in no_std case we
need this error type.
UnsufficientExactBytes(usize)
UnsufficientAtLeastBytes(usize)
Trait Implementations§
source§impl Debug for DynamicSizeError
impl Debug for DynamicSizeError
source§impl From<FixedSizeError> for DynamicSizeError
impl From<FixedSizeError> for DynamicSizeError
source§fn from(value: FixedSizeError) -> Self
fn from(value: FixedSizeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DynamicSizeError
impl RefUnwindSafe for DynamicSizeError
impl Send for DynamicSizeError
impl Sync for DynamicSizeError
impl Unpin for DynamicSizeError
impl UnwindSafe for DynamicSizeError
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