#[repr(C)]pub enum FlateResult {
Success,
StreamEnd,
BufError,
OtherError,
}
Expand description
Outcomes of (de)flate operations.
Variants§
Success
The operation succeeded.
StreamEnd
The operation succeeded and encountered the end of the input.
BufError
The operation failed because a buffer was not big enough or full enough.
OtherError
The operation failed due to an error other than the ones enumerated here.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FlateResult
impl Send for FlateResult
impl Sync for FlateResult
impl Unpin for FlateResult
impl UnwindSafe for FlateResult
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