pub enum DefError {
Show 15 variants
Syntax {
message: String,
},
Schema {
message: String,
},
NameInvalid {
kind: &'static str,
name: String,
},
NoServices,
UnknownKey {
location: String,
key: String,
known_substrates: Vec<String>,
},
DependsOnRejected {
location: String,
},
SubstrateBlockInvalid {
location: String,
found: String,
},
SubstrateConfigMissing {
service: String,
substrate: String,
},
RootOriginConflict {
services: Vec<String>,
},
ReferenceSyntax {
location: String,
reference: String,
detail: String,
},
UndeclaredReference {
location: String,
kind: &'static str,
name: String,
},
SecretNotRequired {
location: String,
key: String,
},
IntegrationInvalid {
integration: String,
detail: String,
},
WiringCycle {
nodes: String,
},
EnvNotStrings {
location: String,
},
}Variants§
Syntax
Schema
NameInvalid
NoServices
UnknownKey
DependsOnRejected
SubstrateBlockInvalid
SubstrateConfigMissing
RootOriginConflict
ReferenceSyntax
UndeclaredReference
SecretNotRequired
IntegrationInvalid
WiringCycle
EnvNotStrings
Trait Implementations§
Source§impl Error for DefError
impl Error for DefError
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 DefError
impl RefUnwindSafe for DefError
impl Send for DefError
impl Sync for DefError
impl Unpin for DefError
impl UnsafeUnpin for DefError
impl UnwindSafe for DefError
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