Enum kanidmd_lib::prelude::SchemaError
source · [−]pub enum SchemaError {
NotImplemented,
NoClassFound,
InvalidClass(Vec<String, Global>),
MissingMustAttribute(Vec<String, Global>),
InvalidAttribute(String),
InvalidAttributeSyntax(String),
AttributeNotValidForClass(String),
SupplementsNotSatisfied(Vec<String, Global>),
ExcludesNotSatisfied(Vec<String, Global>),
EmptyFilter,
Corrupted,
PhantomAttribute(String),
}
Variants
NotImplemented
NoClassFound
InvalidClass(Vec<String, Global>)
MissingMustAttribute(Vec<String, Global>)
InvalidAttribute(String)
InvalidAttributeSyntax(String)
AttributeNotValidForClass(String)
SupplementsNotSatisfied(Vec<String, Global>)
ExcludesNotSatisfied(Vec<String, Global>)
EmptyFilter
Corrupted
PhantomAttribute(String)
Trait Implementations
sourceimpl Debug for SchemaError
impl Debug for SchemaError
sourceimpl<'de> Deserialize<'de> for SchemaError
impl<'de> Deserialize<'de> for SchemaError
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<SchemaError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SchemaError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<SchemaError> for SchemaError
impl PartialEq<SchemaError> for SchemaError
sourcefn eq(&self, other: &SchemaError) -> bool
fn eq(&self, other: &SchemaError) -> bool
sourceimpl Serialize for SchemaError
impl Serialize for SchemaError
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SchemaError
impl StructuralEq for SchemaError
impl StructuralPartialEq for SchemaError
Auto Trait Implementations
impl RefUnwindSafe for SchemaError
impl Send for SchemaError
impl Sync for SchemaError
impl Unpin for SchemaError
impl UnwindSafe for SchemaError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more