pub enum PsDeflateError {
BufferError(BufferError),
BadData,
InsufficientSpace,
}Variants§
Trait Implementations§
Source§impl Clone for PsDeflateError
impl Clone for PsDeflateError
Source§fn clone(&self) -> PsDeflateError
fn clone(&self) -> PsDeflateError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PsDeflateError
impl Debug for PsDeflateError
Source§impl Display for PsDeflateError
impl Display for PsDeflateError
Source§impl Error for PsDeflateError
impl Error for PsDeflateError
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<BufferError> for PsDeflateError
impl From<BufferError> for PsDeflateError
Source§fn from(source: BufferError) -> Self
fn from(source: BufferError) -> Self
Converts to this type from the input type.
Source§impl From<CompressionError> for PsDeflateError
impl From<CompressionError> for PsDeflateError
Source§fn from(error: CompressionError) -> Self
fn from(error: CompressionError) -> Self
Converts to this type from the input type.
Source§impl From<DecompressionError> for PsDeflateError
impl From<DecompressionError> for PsDeflateError
Source§fn from(error: DecompressionError) -> Self
fn from(error: DecompressionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PsDeflateError
impl PartialEq for PsDeflateError
impl Eq for PsDeflateError
impl StructuralPartialEq for PsDeflateError
Auto Trait Implementations§
impl Freeze for PsDeflateError
impl RefUnwindSafe for PsDeflateError
impl Send for PsDeflateError
impl Sync for PsDeflateError
impl Unpin for PsDeflateError
impl UnwindSafe for PsDeflateError
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