Enum kanidmd_lib::prelude::SchemaError
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§
§impl Debug for SchemaError
impl Debug for SchemaError
§impl<'de> Deserialize<'de> for SchemaError
impl<'de> Deserialize<'de> for SchemaError
§fn 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
§impl PartialEq<SchemaError> for SchemaError
impl PartialEq<SchemaError> for SchemaError
§fn eq(&self, other: &SchemaError) -> bool
fn eq(&self, other: &SchemaError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for SchemaError
impl Serialize for SchemaError
§fn 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