pub enum ControlPolicy {
Permissive,
Hardened,
}Expand description
Wire-control authorization mode. Permissive preserves today’s behavior.
Variants§
Permissive
Wire controls are admitted unless an installed authorizer says otherwise.
Hardened
Protected controls are denied unless an installed authorizer approves them.
Trait Implementations§
Source§impl Clone for ControlPolicy
impl Clone for ControlPolicy
impl Copy for ControlPolicy
Source§impl Debug for ControlPolicy
impl Debug for ControlPolicy
Source§impl Default for ControlPolicy
impl Default for ControlPolicy
impl Eq for ControlPolicy
Source§impl PartialEq for ControlPolicy
impl PartialEq for ControlPolicy
impl StructuralPartialEq for ControlPolicy
Auto Trait Implementations§
impl Freeze for ControlPolicy
impl RefUnwindSafe for ControlPolicy
impl Send for ControlPolicy
impl Sync for ControlPolicy
impl Unpin for ControlPolicy
impl UnsafeUnpin for ControlPolicy
impl UnwindSafe for ControlPolicy
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