pub struct Htj2kEncodeError { /* private fields */ }Expand description
Opaque, transcode-owned source for a native HTJ2K encode failure.
The concrete native error remains available through
core::error::Error::source without making j2k-native part of this
crate’s public type signatures.
Implementations§
Source§impl Htj2kEncodeError
impl Htj2kEncodeError
Sourcepub const fn kind(&self) -> Htj2kEncodeErrorKind
pub const fn kind(&self) -> Htj2kEncodeErrorKind
Return the machine-readable failure class.
Trait Implementations§
Source§impl Debug for Htj2kEncodeError
impl Debug for Htj2kEncodeError
Source§impl Display for Htj2kEncodeError
impl Display for Htj2kEncodeError
impl Eq for Htj2kEncodeError
Source§impl Error for Htj2kEncodeError
impl Error for Htj2kEncodeError
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 PartialEq for Htj2kEncodeError
impl PartialEq for Htj2kEncodeError
impl StructuralPartialEq for Htj2kEncodeError
Auto Trait Implementations§
impl !RefUnwindSafe for Htj2kEncodeError
impl !UnwindSafe for Htj2kEncodeError
impl Freeze for Htj2kEncodeError
impl Send for Htj2kEncodeError
impl Sync for Htj2kEncodeError
impl Unpin for Htj2kEncodeError
impl UnsafeUnpin for Htj2kEncodeError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more