pub enum SkipReason {
MultiSchema {
role: String,
schemas: Vec<String>,
},
SchemaNotDeclared {
role: String,
schema: String,
},
OwnerMismatch {
role: String,
schema: String,
},
UniqueAttributes {
role: String,
},
UnrepresentableGrant {
role: String,
},
SoleSchema {
role: String,
schema: String,
},
NoUniformPattern {
roles: Vec<String>,
},
SchemaPatternConflict {
schema: String,
winning_pattern: String,
dropped_roles: Vec<String>,
},
RoundTripFailure {
reason: String,
},
IncompleteFullInventory {
reason: String,
},
}Expand description
Why a particular role wasn’t promoted into a profile.
Variants§
MultiSchema
Role’s grants/default-privs touch more than one schema.
SchemaNotDeclared
Role references a schema that isn’t declared in schemas:.
OwnerMismatch
Role has a default privilege whose owner doesn’t match the schema’s owner.
UniqueAttributes
Role has role attributes (superuser, connection_limit, …) that profiles can’t express.
UnrepresentableGrant
Role has grants on cluster-wide objects (database, etc.) that profiles can’t express.
SoleSchema
Cluster spans fewer than min_schemas schemas.
NoUniformPattern
Couldn’t find a role-pattern that all cluster members agree on.
SchemaPatternConflict
Two clusters wanted to bind to the same schema with different patterns.
RoundTripFailure
The candidate manifest didn’t round-trip cleanly; we abandoned it.
IncompleteFullInventory
The provided full_inventory was missing object names that already
appear in the input’s flat grants — a sure sign the inventory wasn’t
sourced from a complete introspection. Wildcard collapse was
disabled for safety.
Trait Implementations§
Source§impl Clone for SkipReason
impl Clone for SkipReason
Source§fn clone(&self) -> SkipReason
fn clone(&self) -> SkipReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more