pub enum JvmtiError {
Show 50 variants
EmptyArgument,
InvalidThread,
InvalidThreadGroup,
InvalidPriority,
ThreadNotSuspended,
ThreadSuspended,
ThreadNotAlive,
InvalidObject,
InvalidClass,
ClassNotPrepared,
InvalidMethodId,
InvalidLocation,
InvalidFieldId,
NoMoreFrames,
OpaqueFrame,
TypeMismatch,
InvalidSlot,
Duplicate,
NotFound,
InvalidMonitor,
NotMonitorOwner,
Interrupt,
InvalidClassFormat,
CircularClassDefinition,
FailsVerification,
UnsupportedRedefinitionMethodAdded,
UnsupportedRedefinitionSchemaChanged,
InvalidTypeState,
UnsupportedRedefinitionHierarchyChanged,
UnsupportedRedefinitionMethodDeleted,
UnsupportedVersion,
NamesDontMatch,
UnsupportedRedefinitionClassModifiersChanged,
UnsupportedRedefinitionMethodModifiersChanged,
UnmodifiableClass,
NotAvaliable,
MustPosessCapability,
NullPointer,
AbsentInformation,
InvalidEventType,
IllegalArgument,
NativeMethod,
ClassLoaderUnsupported,
OutOfMemory,
AccessDenied,
WrongPhase,
Internal,
UnattachedThread,
InvalidEnvironment,
UnsupportedError(jvmtiError),
}
Expand description
see https://github.com/rel-eng/rvmti/blob/master/src/rvmti.rs#L527
Variants§
EmptyArgument
InvalidThread
InvalidThreadGroup
InvalidPriority
ThreadNotSuspended
ThreadSuspended
ThreadNotAlive
InvalidObject
InvalidClass
ClassNotPrepared
InvalidMethodId
InvalidLocation
InvalidFieldId
NoMoreFrames
OpaqueFrame
TypeMismatch
InvalidSlot
Duplicate
NotFound
InvalidMonitor
NotMonitorOwner
Interrupt
InvalidClassFormat
CircularClassDefinition
FailsVerification
UnsupportedRedefinitionMethodAdded
UnsupportedRedefinitionSchemaChanged
InvalidTypeState
UnsupportedRedefinitionHierarchyChanged
UnsupportedRedefinitionMethodDeleted
UnsupportedVersion
NamesDontMatch
UnsupportedRedefinitionClassModifiersChanged
UnsupportedRedefinitionMethodModifiersChanged
UnmodifiableClass
NotAvaliable
MustPosessCapability
NullPointer
AbsentInformation
InvalidEventType
IllegalArgument
NativeMethod
ClassLoaderUnsupported
OutOfMemory
AccessDenied
WrongPhase
Internal
UnattachedThread
InvalidEnvironment
UnsupportedError(jvmtiError)
Trait Implementations§
Source§impl<'a> Builder<JvmtiError> for MutObjectArrayBuilder<jvmtiError>
impl<'a> Builder<JvmtiError> for MutObjectArrayBuilder<jvmtiError>
fn build(&self) -> Vec<JvmtiError>
Source§impl Debug for JvmtiError
impl Debug for JvmtiError
Source§impl Display for JvmtiError
impl Display for JvmtiError
Source§impl Error for JvmtiError
impl Error for JvmtiError
1.30.0 · 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<JvmtiError> for jvmtiError
impl From<JvmtiError> for jvmtiError
Source§fn from(error: JvmtiError) -> Self
fn from(error: JvmtiError) -> Self
Converts to this type from the input type.
Source§impl From<u32> for JvmtiError
impl From<u32> for JvmtiError
Source§fn from(error: jvmtiError) -> Self
fn from(error: jvmtiError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JvmtiError
impl RefUnwindSafe for JvmtiError
impl Send for JvmtiError
impl Sync for JvmtiError
impl Unpin for JvmtiError
impl UnwindSafe for JvmtiError
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