pub enum VerifyMode {
All,
Remote,
None,
}Expand description
Verification mode controlling which classes are verified.
This corresponds to the -Xverify JVM options:
-Xverify:all- Verify all classes-Xverify:remote- Verify only classes loaded from network (default)-Xverify:none- Skip verification entirely
Variants§
All
Verify all classes.
This is the most strict mode and should be used for development and when loading untrusted code.
Remote
Verify only remote/untrusted classes (default).
Classes from the bootstrap classpath are not verified. This is the default JVM behavior.
None
Skip verification entirely.
WARNING: This is dangerous and should only be used for performance testing or with fully trusted code.
Trait Implementations§
Source§impl Clone for VerifyMode
impl Clone for VerifyMode
Source§fn clone(&self) -> VerifyMode
fn clone(&self) -> VerifyMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VerifyMode
impl Debug for VerifyMode
Source§impl Default for VerifyMode
impl Default for VerifyMode
Source§fn default() -> VerifyMode
fn default() -> VerifyMode
Returns the “default value” for a type. Read more
Source§impl Display for VerifyMode
impl Display for VerifyMode
Source§impl PartialEq for VerifyMode
impl PartialEq for VerifyMode
impl Copy for VerifyMode
impl Eq for VerifyMode
impl StructuralPartialEq for VerifyMode
Auto Trait Implementations§
impl Freeze for VerifyMode
impl RefUnwindSafe for VerifyMode
impl Send for VerifyMode
impl Sync for VerifyMode
impl Unpin for VerifyMode
impl UnwindSafe for VerifyMode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.