Enum CauldronRegistrationError
#[non_exhaustive]pub enum CauldronRegistrationError {
Duplicate {
owners: [String; 2],
},
UnknownItem,
UnknownBlock,
UnknownDispatcher,
UnsupportedCapability,
}Expand description
A registration refused before the immutable dispatcher is published.
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.
Duplicate
Both the existing and attempted owner, in that order.
UnknownItem
The item is absent from the prepared registry.
UnknownBlock
The block is absent from the prepared registry.
UnknownDispatcher
The requested dispatcher has not been declared.
UnsupportedCapability
The callback cannot cross the active runtime boundary.
Trait Implementations§
§impl Clone for CauldronRegistrationError
impl Clone for CauldronRegistrationError
§fn clone(&self) -> CauldronRegistrationError
fn clone(&self) -> CauldronRegistrationError
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 more§impl Debug for CauldronRegistrationError
impl Debug for CauldronRegistrationError
impl Eq for CauldronRegistrationError
§impl PartialEq for CauldronRegistrationError
impl PartialEq for CauldronRegistrationError
impl StructuralPartialEq for CauldronRegistrationError
Auto Trait Implementations§
impl Freeze for CauldronRegistrationError
impl RefUnwindSafe for CauldronRegistrationError
impl Send for CauldronRegistrationError
impl Sync for CauldronRegistrationError
impl Unpin for CauldronRegistrationError
impl UnsafeUnpin for CauldronRegistrationError
impl UnwindSafe for CauldronRegistrationError
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