Enum query_structure::DomainError
source · pub enum DomainError {
ModelNotFound {
name: String,
},
FieldNotFound {
name: String,
container_type: &'static str,
container_name: String,
},
ScalarFieldNotFound {
name: String,
container_name: String,
container_type: &'static str,
},
CompositeFieldNotFound {
name: String,
container_name: String,
container_type: &'static str,
},
RelationFieldNotFound {
name: String,
model: String,
},
EnumNotFound {
name: String,
},
ConversionFailure(String, String),
}
Variants§
ModelNotFound
FieldNotFound
ScalarFieldNotFound
CompositeFieldNotFound
RelationFieldNotFound
EnumNotFound
ConversionFailure(String, String)
Trait Implementations§
source§impl Debug for DomainError
impl Debug for DomainError
source§impl Display for DomainError
impl Display for DomainError
source§impl Error for DomainError
impl Error for DomainError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq for DomainError
impl PartialEq for DomainError
source§fn eq(&self, other: &DomainError) -> bool
fn eq(&self, other: &DomainError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DomainError
Auto Trait Implementations§
impl RefUnwindSafe for DomainError
impl Send for DomainError
impl Sync for DomainError
impl Unpin for DomainError
impl UnwindSafe for DomainError
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