Struct rabe::utils::policy::dnf::DnfPolicy [−][src]
A DNF policy for the MKE08 scheme and the BDABE scheme
Fields
_terms: Vec<(Vec<String>, Gt, Gt, G1, G2)>
Implementations
impl DnfPolicy
[src]
pub fn new() -> DnfPolicy
[src]
Returns a new DNF policy based on a textual dnf policy.
Arguments
policy
- A policy in JSON format as String describing the policy
pub fn from_string<K: PublicAttributeKey>(
_policy: &String,
_pks: &Vec<K>,
_language: PolicyLanguage
) -> Result<DnfPolicy, RabeError>
[src]
_policy: &String,
_pks: &Vec<K>,
_language: PolicyLanguage
) -> Result<DnfPolicy, RabeError>
pub fn from_policy<K: PublicAttributeKey>(
_json: &PolicyValue<'_>,
_pks: &Vec<K>
) -> Result<DnfPolicy, RabeError>
[src]
_json: &PolicyValue<'_>,
_pks: &Vec<K>
) -> Result<DnfPolicy, RabeError>
Auto Trait Implementations
impl RefUnwindSafe for DnfPolicy
[src]
impl Send for DnfPolicy
[src]
impl Sync for DnfPolicy
[src]
impl Unpin for DnfPolicy
[src]
impl UnwindSafe for DnfPolicy
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,