pub enum J4RsError {
GeneralError(String),
JavaError(String),
JniError(String),
RustError(String),
ParseError(String),
Timeout,
}
Variants§
GeneralError(String)
JavaError(String)
JniError(String)
RustError(String)
ParseError(String)
Timeout
Trait Implementations§
source§impl Error for J4RsError
impl Error for J4RsError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl From<Infallible> for J4RsError
impl From<Infallible> for J4RsError
source§fn from(err: Infallible) -> J4RsError
fn from(err: Infallible) -> J4RsError
Converts to this type from the input type.
source§impl<T> From<PoisonError<T>> for J4RsError
impl<T> From<PoisonError<T>> for J4RsError
source§fn from(err: PoisonError<T>) -> J4RsError
fn from(err: PoisonError<T>) -> J4RsError
Converts to this type from the input type.
source§impl<T> From<TryLockError<T>> for J4RsError
impl<T> From<TryLockError<T>> for J4RsError
source§fn from(err: TryLockError<T>) -> J4RsError
fn from(err: TryLockError<T>) -> J4RsError
Converts to this type from the input type.
source§impl PartialEq for J4RsError
impl PartialEq for J4RsError
impl Eq for J4RsError
impl StructuralPartialEq for J4RsError
Auto Trait Implementations§
impl Freeze for J4RsError
impl RefUnwindSafe for J4RsError
impl Send for J4RsError
impl Sync for J4RsError
impl Unpin for J4RsError
impl UnwindSafe for J4RsError
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