Enum easy_jni::EasyJniError
source · pub enum EasyJniError {
ArrayOfVoidNotAllowed,
UnsupportedJavaType,
ByteLessThanZeroNotSupported,
JavaTypeMismatch,
FromJniCrate(String),
ClassNameRequiredToCreateClass,
}
Variants§
ArrayOfVoidNotAllowed
UnsupportedJavaType
ByteLessThanZeroNotSupported
Any Java byte (i8) value less than 0 will give a hard error since Rust byte is unsigned.
JavaTypeMismatch
The JavaType
does not match the required type
FromJniCrate(String)
ClassNameRequiredToCreateClass
Tried to create a class without adding the class name first
Trait Implementations§
source§impl Debug for EasyJniError
impl Debug for EasyJniError
source§impl From<Error> for EasyJniError
impl From<Error> for EasyJniError
source§impl Ord for EasyJniError
impl Ord for EasyJniError
source§fn cmp(&self, other: &EasyJniError) -> Ordering
fn cmp(&self, other: &EasyJniError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<EasyJniError> for EasyJniError
impl PartialEq<EasyJniError> for EasyJniError
source§fn eq(&self, other: &EasyJniError) -> bool
fn eq(&self, other: &EasyJniError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<EasyJniError> for EasyJniError
impl PartialOrd<EasyJniError> for EasyJniError
source§fn partial_cmp(&self, other: &EasyJniError) -> Option<Ordering>
fn partial_cmp(&self, other: &EasyJniError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for EasyJniError
impl StructuralEq for EasyJniError
impl StructuralPartialEq for EasyJniError
Auto Trait Implementations§
impl RefUnwindSafe for EasyJniError
impl Send for EasyJniError
impl Sync for EasyJniError
impl Unpin for EasyJniError
impl UnwindSafe for EasyJniError
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