pub enum ExtensionRegistryError {
DuplicateRule {
family_id: &'static str,
},
MalformedFamilyId {
family_id: &'static str,
},
}Expand description
Errors returned from extension registries.
Variants§
DuplicateRule
An AD rule with the same family_id was already registered.
MalformedFamilyId
The family_id does not match the namespaced format
"<crate-name>.<op-name>.v<major>".
Trait Implementations§
Source§impl Debug for ExtensionRegistryError
impl Debug for ExtensionRegistryError
Source§impl Display for ExtensionRegistryError
impl Display for ExtensionRegistryError
Source§impl Error for ExtensionRegistryError
impl Error for ExtensionRegistryError
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()
Auto Trait Implementations§
impl Freeze for ExtensionRegistryError
impl RefUnwindSafe for ExtensionRegistryError
impl Send for ExtensionRegistryError
impl Sync for ExtensionRegistryError
impl Unpin for ExtensionRegistryError
impl UnsafeUnpin for ExtensionRegistryError
impl UnwindSafe for ExtensionRegistryError
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