pub enum ModelSelectError {
DatabaseError(Error),
InvalidSelector(String),
HistoryNotSupported {
table_name: String,
},
MultipleResults,
ProjectionSourceNotSelected {
table_name: String,
alias: String,
},
}Variants§
DatabaseError(Error)
InvalidSelector(String)
HistoryNotSupported
MultipleResults
ProjectionSourceNotSelected
Trait Implementations§
Source§impl Debug for ModelSelectError
impl Debug for ModelSelectError
Source§impl Display for ModelSelectError
impl Display for ModelSelectError
Source§impl Error for ModelSelectError
impl Error for ModelSelectError
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<Error> for ModelSelectError
impl From<Error> for ModelSelectError
Source§impl From<ModelSelectError> for AccessionError
impl From<ModelSelectError> for AccessionError
Source§fn from(source: ModelSelectError) -> Self
fn from(source: ModelSelectError) -> Self
Converts to this type from the input type.
Source§impl From<ModelSelectError> for AnnotationError
impl From<ModelSelectError> for AnnotationError
Source§fn from(source: ModelSelectError) -> Self
fn from(source: ModelSelectError) -> Self
Converts to this type from the input type.
Source§impl From<ModelSelectError> for BlockGroupError
impl From<ModelSelectError> for BlockGroupError
Source§fn from(source: ModelSelectError) -> Self
fn from(source: ModelSelectError) -> Self
Converts to this type from the input type.
Source§impl From<ModelSelectError> for RemoteError
impl From<ModelSelectError> for RemoteError
Source§fn from(source: ModelSelectError) -> Self
fn from(source: ModelSelectError) -> Self
Converts to this type from the input type.
Source§impl From<ModelSelectError> for PathError
impl From<ModelSelectError> for PathError
Source§fn from(source: ModelSelectError) -> Self
fn from(source: ModelSelectError) -> Self
Converts to this type from the input type.
Source§impl From<ModelSelectError> for SampleError
impl From<ModelSelectError> for SampleError
Source§fn from(source: ModelSelectError) -> Self
fn from(source: ModelSelectError) -> Self
Converts to this type from the input type.
Source§impl From<ModelSelectError> for SequenceError
impl From<ModelSelectError> for SequenceError
Source§fn from(source: ModelSelectError) -> Self
fn from(source: ModelSelectError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ModelSelectError
impl PartialEq for ModelSelectError
impl StructuralPartialEq for ModelSelectError
Auto Trait Implementations§
impl !RefUnwindSafe for ModelSelectError
impl !UnwindSafe for ModelSelectError
impl Freeze for ModelSelectError
impl Send for ModelSelectError
impl Sync for ModelSelectError
impl Unpin for ModelSelectError
impl UnsafeUnpin for ModelSelectError
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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