pub enum CompositionError {
LockedResource {
source_name: String,
resource: String,
},
RequiredResource {
source_name: String,
resource: String,
},
PathNotAllowed {
source_name: String,
path: String,
},
ScriptsNotAllowed {
source_name: String,
},
TemplateSandboxViolation {
source_name: String,
variable: String,
},
SystemChangeNotAllowed {
source_name: String,
setting: String,
},
UnresolvableConflict {
resource: String,
source_names: Vec<String>,
},
EncryptionRequired {
source_name: String,
path: String,
pattern: String,
},
EncryptionBackendMismatch {
source_name: String,
path: String,
pattern: String,
actual_backend: String,
required_backend: String,
},
EncryptionModeMismatch {
source_name: String,
path: String,
pattern: String,
actual_mode: String,
required_mode: String,
},
}Variants§
LockedResource
RequiredResource
PathNotAllowed
ScriptsNotAllowed
TemplateSandboxViolation
SystemChangeNotAllowed
UnresolvableConflict
EncryptionRequired
EncryptionBackendMismatch
Fields
EncryptionModeMismatch
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
1.30.0 · 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<CompositionError> for CfgdError
impl From<CompositionError> for CfgdError
Source§fn from(e: CompositionError) -> Self
fn from(e: CompositionError) -> Self
Converts to this type from the input type.
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