pub enum JoinGraphError {
EmptyGraph,
TooManyRelations {
name: String,
index: usize,
},
UnknownRelation {
index: usize,
relation_count: usize,
},
InvalidCardinality {
name: String,
rows: f64,
},
InvalidAccessCost {
name: String,
cost: f64,
},
InvalidSelectivity {
selectivity: f64,
},
DuplicateAlias {
alias: String,
},
UnknownAlias {
alias: String,
},
InvalidPlan {
detail: String,
},
}Variants§
EmptyGraph
TooManyRelations
UnknownRelation
InvalidCardinality
InvalidAccessCost
InvalidSelectivity
DuplicateAlias
UnknownAlias
InvalidPlan
Trait Implementations§
Source§impl Clone for JoinGraphError
impl Clone for JoinGraphError
Source§fn clone(&self) -> JoinGraphError
fn clone(&self) -> JoinGraphError
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 JoinGraphError
impl Debug for JoinGraphError
Source§impl Display for JoinGraphError
impl Display for JoinGraphError
Source§impl Error for JoinGraphError
impl Error for JoinGraphError
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()
Source§impl From<JoinGraphError> for OptimizerError
impl From<JoinGraphError> for OptimizerError
Source§fn from(source: JoinGraphError) -> Self
fn from(source: JoinGraphError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for JoinGraphError
impl PartialEq for JoinGraphError
impl StructuralPartialEq for JoinGraphError
Auto Trait Implementations§
impl Freeze for JoinGraphError
impl RefUnwindSafe for JoinGraphError
impl Send for JoinGraphError
impl Sync for JoinGraphError
impl Unpin for JoinGraphError
impl UnsafeUnpin for JoinGraphError
impl UnwindSafe for JoinGraphError
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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