Enum necessist_core::Warning
source · #[non_exhaustive]pub enum Warning {
All,
DatabaseDoesNotExist,
DryRunFailed,
FilesChanged,
IgnoredFunctionsUnsupported,
IgnoredMacrosUnsupported,
IgnoredMethodsUnsupported,
ItMessageNotFound,
ModulePathUnknown,
OutputInvalid,
ParsingFailed,
RunTestFailed,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
All
DatabaseDoesNotExist
DryRunFailed
FilesChanged
IgnoredFunctionsUnsupported
IgnoredMacrosUnsupported
IgnoredMethodsUnsupported
ItMessageNotFound
ModulePathUnknown
OutputInvalid
ParsingFailed
RunTestFailed
Trait Implementations§
source§impl Ord for Warning
impl Ord for Warning
source§impl PartialEq for Warning
impl PartialEq for Warning
source§impl PartialOrd for Warning
impl PartialOrd for Warning
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Warning
impl Eq for Warning
impl StructuralEq for Warning
impl StructuralPartialEq for Warning
Auto Trait Implementations§
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnwindSafe for Warning
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more