pub enum DropIndexError {
NotFound(String),
ConstraintOwned {
index: String,
constraint: String,
},
Unsupported(&'static str),
}Variants§
NotFound(String)
42N51 — referenced index does not exist.
ConstraintOwned
Index belongs to a constraint and must be removed by dropping the owning constraint.
Unsupported(&'static str)
Implementations§
Source§impl DropIndexError
impl DropIndexError
pub const fn gql_status(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DropIndexError
impl Clone for DropIndexError
Source§fn clone(&self) -> DropIndexError
fn clone(&self) -> DropIndexError
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 moreSource§impl Debug for DropIndexError
impl Debug for DropIndexError
Source§impl Display for DropIndexError
impl Display for DropIndexError
Source§impl Error for DropIndexError
impl Error for DropIndexError
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 DropIndexError
impl RefUnwindSafe for DropIndexError
impl Send for DropIndexError
impl Sync for DropIndexError
impl Unpin for DropIndexError
impl UnsafeUnpin for DropIndexError
impl UnwindSafe for DropIndexError
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