#[non_exhaustive]pub enum PluginError {
Failed,
CannotFindPlugin,
CannotLoadPlugin,
JavaUnavailable,
ConnectionCancelled,
WillHandleLoad,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for PluginError
impl Clone for PluginError
Source§fn clone(&self) -> PluginError
fn clone(&self) -> PluginError
Returns a copy 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 PluginError
impl Debug for PluginError
Source§impl Display for PluginError
impl Display for PluginError
Source§impl ErrorDomain for PluginError
impl ErrorDomain for PluginError
Source§impl<'a> FromValue<'a> for PluginError
impl<'a> FromValue<'a> for PluginError
Source§type Checker = GenericValueTypeChecker<PluginError>
type Checker = GenericValueTypeChecker<PluginError>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moreSource§impl Hash for PluginError
impl Hash for PluginError
Source§impl Ord for PluginError
impl Ord for PluginError
Source§fn cmp(&self, other: &PluginError) -> Ordering
fn cmp(&self, other: &PluginError) -> 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 for PluginError
impl PartialEq for PluginError
Source§impl PartialOrd for PluginError
impl PartialOrd for PluginError
Source§impl StaticType for PluginError
impl StaticType for PluginError
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Source§impl ToValue for PluginError
impl ToValue for PluginError
Source§impl ValueType for PluginError
impl ValueType for PluginError
Source§type Type = PluginError
type Type = PluginError
Type to get the
Type
from. Read moreimpl Copy for PluginError
impl Eq for PluginError
impl StructuralPartialEq for PluginError
Auto Trait Implementations§
impl Freeze for PluginError
impl RefUnwindSafe for PluginError
impl Send for PluginError
impl Sync for PluginError
impl Unpin for PluginError
impl UnwindSafe for PluginError
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<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.