pub enum PluginSelectionError {
InvocationPolicyRejected(PluginInvocationPolicyError),
TransportMismatch {
expected: PluginTransport,
actual: PluginTransport,
},
PluginIdMismatch {
requested: String,
loaded: String,
},
InstanceNotFound {
plugin_id: String,
interface: &'static str,
instance_id: String,
},
InterfaceNotFound {
plugin_id: String,
interface: &'static str,
},
InstanceUnavailable {
plugin_id: String,
interface: &'static str,
instance_id: String,
},
InterfaceUnavailable {
plugin_id: String,
interface: &'static str,
},
Ambiguous {
plugin_id: String,
interface: &'static str,
count: usize,
},
PluginNotFound {
plugin_id: String,
transport: PluginTransport,
},
ScopeRequired {
plugin_id: String,
interface: &'static str,
},
ScopeRegistration {
plugin_id: String,
interface: &'static str,
source: PluginScopeError,
},
InvalidLoadedIdentity {
plugin_id: String,
instance_id: String,
},
}Variants§
InvocationPolicyRejected(PluginInvocationPolicyError)
TransportMismatch
PluginIdMismatch
InstanceNotFound
InterfaceNotFound
Ambiguous
PluginNotFound
ScopeRequired
ScopeRegistration
InvalidLoadedIdentity
Trait Implementations§
Source§impl Clone for PluginSelectionError
impl Clone for PluginSelectionError
Source§fn clone(&self) -> PluginSelectionError
fn clone(&self) -> PluginSelectionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginSelectionError
impl Debug for PluginSelectionError
Source§impl Display for PluginSelectionError
impl Display for PluginSelectionError
impl Eq for PluginSelectionError
Source§impl Error for PluginSelectionError
impl Error for PluginSelectionError
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<PluginInvocationPolicyError> for PluginSelectionError
impl From<PluginInvocationPolicyError> for PluginSelectionError
Source§fn from(source: PluginInvocationPolicyError) -> Self
fn from(source: PluginInvocationPolicyError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PluginSelectionError
impl PartialEq for PluginSelectionError
impl StructuralPartialEq for PluginSelectionError
Auto Trait Implementations§
impl Freeze for PluginSelectionError
impl RefUnwindSafe for PluginSelectionError
impl Send for PluginSelectionError
impl Sync for PluginSelectionError
impl Unpin for PluginSelectionError
impl UnsafeUnpin for PluginSelectionError
impl UnwindSafe for PluginSelectionError
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.