pub enum DeclarationError {
Show 16 variants
IncompatiblePayload,
Schema(Error),
PublicationInventory(Error),
ContractInventory(Error),
ContributionInventory(Error),
ListenerInventory(Error),
ObserverInventory(Error),
UnsupportedObservers,
InvalidRestartPolicy,
MissingIdentity {
facility: &'static str,
},
DuplicateIdentity {
facility: &'static str,
},
OversizedFragment,
Malformed {
source: Error,
},
UnknownKind {
kind: String,
},
InvalidId {
id: String,
},
Version {
source: Error,
},
}Variants§
IncompatiblePayload
Schema(Error)
PublicationInventory(Error)
ContractInventory(Error)
ContributionInventory(Error)
ListenerInventory(Error)
ObserverInventory(Error)
UnsupportedObservers
InvalidRestartPolicy
MissingIdentity
DuplicateIdentity
OversizedFragment
Malformed
UnknownKind
InvalidId
Version
Trait Implementations§
Source§impl Debug for DeclarationError
impl Debug for DeclarationError
Source§impl Display for DeclarationError
impl Display for DeclarationError
Source§impl Error for DeclarationError
impl Error for DeclarationError
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<Error> for DeclarationError
impl From<Error> for DeclarationError
Source§impl From<Error> for DeclarationError
impl From<Error> for DeclarationError
Source§impl From<Error> for DeclarationError
impl From<Error> for DeclarationError
Source§impl From<Error> for DeclarationError
impl From<Error> for DeclarationError
Source§impl From<Error> for DeclarationError
impl From<Error> for DeclarationError
Source§impl From<Error> for DeclarationError
impl From<Error> for DeclarationError
Auto Trait Implementations§
impl !RefUnwindSafe for DeclarationError
impl !UnwindSafe for DeclarationError
impl Freeze for DeclarationError
impl Send for DeclarationError
impl Sync for DeclarationError
impl Unpin for DeclarationError
impl UnsafeUnpin for DeclarationError
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