Struct CompressError

pub struct CompressError { /* private fields */ }

Error returned when a compression object is used incorrectly or otherwise generates an error.

Implementations

impl CompressError

fn message(&self) -> Option<&str>

Retrieve the implementation's message about why the operation failed, if one exists.

Trait Implementations

impl Clone for CompressError

fn clone(&self) -> CompressError

impl Debug for CompressError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for CompressError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Error for CompressError

Auto Trait Implementations

impl Freeze for CompressError

impl RefUnwindSafe for CompressError

impl Send for CompressError

impl Sync for CompressError

impl Unpin for CompressError

impl UnsafeUnpin for CompressError

impl UnwindSafe for CompressError

Blanket Implementations

impl<T> Any for CompressError where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for CompressError where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for CompressError where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for CompressError where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for CompressError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for CompressError where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T> ToString for CompressError where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for CompressError where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for CompressError where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for CompressError where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>