pub struct ParsedPolicy {
    pub data: PolicyData,
    /* private fields */
}Expand description
A parsed binary policy.
Fields§
§data: PolicyDataThe raw policy data.
Implementations§
Source§impl ParsedPolicy
 
impl ParsedPolicy
Sourcepub fn policy_version(&self) -> u32
 
pub fn policy_version(&self) -> u32
The policy version stored in the underlying binary policy.
Sourcepub fn handle_unknown(&self) -> HandleUnknown
 
pub fn handle_unknown(&self) -> HandleUnknown
The way “unknown” policy decisions should be handed according to the underlying binary policy.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedPolicy
impl RefUnwindSafe for ParsedPolicy
impl Send for ParsedPolicy
impl Sync for ParsedPolicy
impl Unpin for ParsedPolicy
impl UnwindSafe for ParsedPolicy
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