pub enum PolicySetPolicyRemovalError {
RemovePolicyNoLinkError(PolicyID),
RemovePolicyNoTemplateError(PolicyID),
}
Expand description
Potential errors when removing policies from a PolicySet
.
Variants§
RemovePolicyNoLinkError(PolicyID)
There was no link PolicyID
in the list of links.
RemovePolicyNoTemplateError(PolicyID)
There was no template PolicyID
in the list of templates.
Trait Implementations§
source§impl Debug for PolicySetPolicyRemovalError
impl Debug for PolicySetPolicyRemovalError
source§impl Error for PolicySetPolicyRemovalError
impl Error for PolicySetPolicyRemovalError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 RefUnwindSafe for PolicySetPolicyRemovalError
impl Send for PolicySetPolicyRemovalError
impl Sync for PolicySetPolicyRemovalError
impl Unpin for PolicySetPolicyRemovalError
impl UnwindSafe for PolicySetPolicyRemovalError
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