pub enum JoinOrderError {
NoRelations,
DisconnectedGraph(String),
TooManyRelations {
count: usize,
max: usize,
},
InvalidCondition(String),
}Expand description
Errors from the join optimizer.
Variants§
NoRelations
No relations were provided.
DisconnectedGraph(String)
The join graph is disconnected.
TooManyRelations
Too many relations for the requested strategy.
InvalidCondition(String)
A join condition references a relation not in the input set.
Trait Implementations§
Source§impl Clone for JoinOrderError
impl Clone for JoinOrderError
Source§fn clone(&self) -> JoinOrderError
fn clone(&self) -> JoinOrderError
Returns a duplicate of the value. Read more
1.0.0 · 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 JoinOrderError
impl Debug for JoinOrderError
Source§impl Display for JoinOrderError
impl Display for JoinOrderError
Source§impl Error for JoinOrderError
impl Error for JoinOrderError
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 JoinOrderError
impl RefUnwindSafe for JoinOrderError
impl Send for JoinOrderError
impl Sync for JoinOrderError
impl Unpin for JoinOrderError
impl UnsafeUnpin for JoinOrderError
impl UnwindSafe for JoinOrderError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more