Enum zircon_object::task::PolicyAction[][src]

#[repr(u32)]pub enum PolicyAction {
    Allow,
    Deny,
    AllowException,
    DenyException,
    Kill,
}

The action taken when the condition happens specified by a policy.

Variants

Allow

Allow condition.

Deny

Prevent condition.

AllowException

Generate an exception via the debug port. An exception generated this way acts as a breakpoint. The thread may be resumed after the exception.

DenyException

Just like AllowException, but after resuming condition is denied.

Kill

Terminate the process.

Trait Implementations

impl Clone for PolicyAction[src]

impl Copy for PolicyAction[src]

impl Debug for PolicyAction[src]

impl Eq for PolicyAction[src]

impl PartialEq<PolicyAction> for PolicyAction[src]

impl StructuralEq for PolicyAction[src]

impl StructuralPartialEq for PolicyAction[src]

Auto Trait Implementations

impl RefUnwindSafe for PolicyAction

impl Send for PolicyAction

impl Sync for PolicyAction

impl Unpin for PolicyAction

impl UnwindSafe for PolicyAction

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.