#[non_exhaustive]pub enum ImplementationDescriptorError {
DuplicateImportSlot {
slot_id: BoxId,
},
}Expand description
A failure to construct an implementation descriptor.
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.
DuplicateImportSlot
An import-slot package appeared more than once.
Trait Implementations§
Source§impl Clone for ImplementationDescriptorError
impl Clone for ImplementationDescriptorError
Source§fn clone(&self) -> ImplementationDescriptorError
fn clone(&self) -> ImplementationDescriptorError
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 moreimpl Eq for ImplementationDescriptorError
Source§impl Error for ImplementationDescriptorError
impl Error for ImplementationDescriptorError
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()
impl StructuralPartialEq for ImplementationDescriptorError
Auto Trait Implementations§
impl Freeze for ImplementationDescriptorError
impl RefUnwindSafe for ImplementationDescriptorError
impl Send for ImplementationDescriptorError
impl Sync for ImplementationDescriptorError
impl Unpin for ImplementationDescriptorError
impl UnsafeUnpin for ImplementationDescriptorError
impl UnwindSafe for ImplementationDescriptorError
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