Enum oso::Action [−][src]
pub enum Action<T = String> { Any, Typed(T), }
Expand description
Represents an action
used in an allow
rule.
When the action is bound to a concrete value (e.g. a string)
this returns an Action::Typed(action)
.
If any actions are allowed, then the Action::Any
variant is returned.
Variants
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Action<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Action<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more