pub enum EntryError {
BothSources {
name: String,
},
NoSource {
name: String,
},
PluginSelector(PluginSelectorError),
Filter(FilterError),
}Expand description
An entry the schema refuses, by the rule it breaks. Each message names the entry.
Variants§
BothSources
NoSource
PluginSelector(PluginSelectorError)
Filter(FilterError)
A filter that contradicts itself, refused under Strictness::Consumer.
Implementations§
Trait Implementations§
Source§impl Debug for EntryError
impl Debug for EntryError
Source§impl Display for EntryError
impl Display for EntryError
impl Eq for EntryError
Source§impl Error for EntryError
impl Error for EntryError
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<FilterError> for EntryError
impl From<FilterError> for EntryError
Source§fn from(source: FilterError) -> Self
fn from(source: FilterError) -> Self
Converts to this type from the input type.
Source§impl From<PluginSelectorError> for EntryError
impl From<PluginSelectorError> for EntryError
Source§fn from(source: PluginSelectorError) -> Self
fn from(source: PluginSelectorError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EntryError
impl PartialEq for EntryError
impl StructuralPartialEq for EntryError
Auto Trait Implementations§
impl Forget for EntryError
impl Freeze for EntryError
impl RefUnwindSafe for EntryError
impl Send for EntryError
impl Sync for EntryError
impl Unpin for EntryError
impl UnsafeUnpin for EntryError
impl UnwindSafe for EntryError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.