#[non_exhaustive]pub enum PolicyAction {
Accept,
Reject,
NextTerm,
NextPolicy,
}Expand description
The flow-control action ending a term.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PolicyAction
impl Clone for PolicyAction
impl Copy for PolicyAction
Source§impl Debug for PolicyAction
impl Debug for PolicyAction
impl Eq for PolicyAction
Source§impl PartialEq for PolicyAction
impl PartialEq for PolicyAction
impl StructuralPartialEq for PolicyAction
Auto Trait Implementations§
impl Forget for PolicyAction
impl Freeze for PolicyAction
impl Move for PolicyAction
impl RefUnwindSafe for PolicyAction
impl Send for PolicyAction
impl Sync for PolicyAction
impl Unpin for PolicyAction
impl UnsafeUnpin for PolicyAction
impl UnwindSafe for PolicyAction
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