pub enum CompositionError {
Yaml(Error),
MissingSources,
RoleOutOfScope {
document: String,
role: String,
},
SchemaOwnerOutOfScope {
document: String,
schema: String,
},
SchemaBindingsOutOfScope {
document: String,
schema: String,
},
DuplicateManagedRole {
role: String,
first: String,
second: String,
},
DuplicateManagedSchemaFacet {
schema: String,
facet: String,
first: String,
second: String,
},
DuplicateManagedGrant {
target: String,
first: String,
second: String,
},
DuplicateManagedDefaultPrivilege {
target: String,
first: String,
second: String,
},
DuplicateManagedMembership {
role: String,
member: String,
first: String,
second: String,
},
InvalidDocument {
document: String,
error: ManifestError,
},
InvalidComposedManifest(ManifestError),
}Variants§
Yaml(Error)
MissingSources
RoleOutOfScope
SchemaOwnerOutOfScope
SchemaBindingsOutOfScope
DuplicateManagedRole
DuplicateManagedSchemaFacet
DuplicateManagedGrant
DuplicateManagedDefaultPrivilege
DuplicateManagedMembership
InvalidDocument
InvalidComposedManifest(ManifestError)
Trait Implementations§
Source§impl Debug for CompositionError
impl Debug for CompositionError
Source§impl Display for CompositionError
impl Display for CompositionError
Source§impl Error for CompositionError
impl Error for CompositionError
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()
Auto Trait Implementations§
impl Freeze for CompositionError
impl !RefUnwindSafe for CompositionError
impl Send for CompositionError
impl Sync for CompositionError
impl Unpin for CompositionError
impl UnsafeUnpin for CompositionError
impl !UnwindSafe for CompositionError
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