pub struct Unvalidated<PS: ParseStrategy>(/* private fields */);
Expand description
A Policy
that has been successfully parsed, but not validated.
Implementations§
Source§impl<PS: ParseStrategy> Unvalidated<PS>
impl<PS: ParseStrategy> Unvalidated<PS>
Auto Trait Implementations§
impl<PS> Freeze for Unvalidated<PS>where
<PS as ParseStrategy>::Output<Magic>: Freeze,
<PS as ParseStrategy>::Output<PolicyVersion>: Freeze,
<PS as ParseStrategy>::Output<Counts>: Freeze,
<PS as ParseStrategy>::Output<U32<LittleEndian>>: Freeze,
<PS as ParseStrategy>::Output<SignatureMetadata>: Freeze,
<PS as ParseStrategy>::Slice<u8>: Freeze,
<PS as ParseStrategy>::Output<Metadata>: Freeze,
<PS as ParseStrategy>::Slice<MapItem>: Freeze,
<PS as ParseStrategy>::Output<Metadata>: Freeze,
<PS as ParseStrategy>::Slice<RoleTransition>: Freeze,
<PS as ParseStrategy>::Slice<RoleAllow>: Freeze,
impl<PS> RefUnwindSafe for Unvalidated<PS>where
<PS as ParseStrategy>::Output<Magic>: RefUnwindSafe,
<PS as ParseStrategy>::Output<PolicyVersion>: RefUnwindSafe,
<PS as ParseStrategy>::Output<Counts>: RefUnwindSafe,
<PS as ParseStrategy>::Output<U32<LittleEndian>>: RefUnwindSafe,
<PS as ParseStrategy>::Output<SignatureMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Slice<u8>: RefUnwindSafe,
<PS as ParseStrategy>::Output<Metadata>: RefUnwindSafe,
<PS as ParseStrategy>::Slice<MapItem>: RefUnwindSafe,
<PS as ParseStrategy>::Output<Metadata>: RefUnwindSafe,
PS: RefUnwindSafe,
<PS as ParseStrategy>::Slice<RoleTransition>: RefUnwindSafe,
<PS as ParseStrategy>::Slice<RoleAllow>: RefUnwindSafe,
<PS as ParseStrategy>::Output<AccessVectorMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<PortMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<[U32<LittleEndian>; 4]>: RefUnwindSafe,
<PS as ParseStrategy>::Output<RangeTransitionMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<ClassDefaults>: RefUnwindSafe,
<PS as ParseStrategy>::Output<SpecifiedDriverPermissions>: RefUnwindSafe,
<PS as ParseStrategy>::Output<DeprecatedFilenameTransitionMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<ContextMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<FsUseMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<TypeMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<ConditionalBooleanMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<CategoryMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<ConditionalNodeMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Slice<ConditionalNodeDatum>: RefUnwindSafe,
<PS as ParseStrategy>::Output<InfinitiBandEndPortMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<ClassValidateTransitionsCount>: RefUnwindSafe,
<PS as ParseStrategy>::Output<RoleStaticMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<UserMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<SensitivityStaticMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<CommonSymbolStaticMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<PermissionMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<ConstraintMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<ClassMetadata>: RefUnwindSafe,
<PS as ParseStrategy>::Output<ConstraintCount>: RefUnwindSafe,
impl<PS> Send for Unvalidated<PS>where
<PS as ParseStrategy>::Output<Magic>: Send,
<PS as ParseStrategy>::Output<PolicyVersion>: Send,
<PS as ParseStrategy>::Output<Counts>: Send,
<PS as ParseStrategy>::Output<U32<LittleEndian>>: Send,
<PS as ParseStrategy>::Output<SignatureMetadata>: Send,
<PS as ParseStrategy>::Slice<u8>: Send,
<PS as ParseStrategy>::Output<Metadata>: Send,
<PS as ParseStrategy>::Slice<MapItem>: Send,
<PS as ParseStrategy>::Output<Metadata>: Send,
PS: Send,
<PS as ParseStrategy>::Slice<RoleTransition>: Send,
<PS as ParseStrategy>::Slice<RoleAllow>: Send,
<PS as ParseStrategy>::Output<AccessVectorMetadata>: Send,
<PS as ParseStrategy>::Output<PortMetadata>: Send,
<PS as ParseStrategy>::Output<[U32<LittleEndian>; 4]>: Send,
<PS as ParseStrategy>::Output<RangeTransitionMetadata>: Send,
<PS as ParseStrategy>::Output<ClassDefaults>: Send,
<PS as ParseStrategy>::Output<SpecifiedDriverPermissions>: Send,
<PS as ParseStrategy>::Output<DeprecatedFilenameTransitionMetadata>: Send,
<PS as ParseStrategy>::Output<ContextMetadata>: Send,
<PS as ParseStrategy>::Output<FsUseMetadata>: Send,
<PS as ParseStrategy>::Output<TypeMetadata>: Send,
<PS as ParseStrategy>::Output<ConditionalBooleanMetadata>: Send,
<PS as ParseStrategy>::Output<CategoryMetadata>: Send,
<PS as ParseStrategy>::Output<ConditionalNodeMetadata>: Send,
<PS as ParseStrategy>::Slice<ConditionalNodeDatum>: Send,
<PS as ParseStrategy>::Output<InfinitiBandEndPortMetadata>: Send,
<PS as ParseStrategy>::Output<ClassValidateTransitionsCount>: Send,
<PS as ParseStrategy>::Output<RoleStaticMetadata>: Send,
<PS as ParseStrategy>::Output<UserMetadata>: Send,
<PS as ParseStrategy>::Output<SensitivityStaticMetadata>: Send,
<PS as ParseStrategy>::Output<CommonSymbolStaticMetadata>: Send,
<PS as ParseStrategy>::Output<PermissionMetadata>: Send,
<PS as ParseStrategy>::Output<ConstraintMetadata>: Send,
<PS as ParseStrategy>::Output<ClassMetadata>: Send,
<PS as ParseStrategy>::Output<ConstraintCount>: Send,
impl<PS> Sync for Unvalidated<PS>where
<PS as ParseStrategy>::Output<Magic>: Sync,
<PS as ParseStrategy>::Output<PolicyVersion>: Sync,
<PS as ParseStrategy>::Output<Counts>: Sync,
<PS as ParseStrategy>::Output<U32<LittleEndian>>: Sync,
<PS as ParseStrategy>::Output<SignatureMetadata>: Sync,
<PS as ParseStrategy>::Slice<u8>: Sync,
<PS as ParseStrategy>::Output<Metadata>: Sync,
<PS as ParseStrategy>::Slice<MapItem>: Sync,
<PS as ParseStrategy>::Output<Metadata>: Sync,
PS: Sync,
<PS as ParseStrategy>::Slice<RoleTransition>: Sync,
<PS as ParseStrategy>::Slice<RoleAllow>: Sync,
<PS as ParseStrategy>::Output<AccessVectorMetadata>: Sync,
<PS as ParseStrategy>::Output<PortMetadata>: Sync,
<PS as ParseStrategy>::Output<[U32<LittleEndian>; 4]>: Sync,
<PS as ParseStrategy>::Output<RangeTransitionMetadata>: Sync,
<PS as ParseStrategy>::Output<ClassDefaults>: Sync,
<PS as ParseStrategy>::Output<SpecifiedDriverPermissions>: Sync,
<PS as ParseStrategy>::Output<DeprecatedFilenameTransitionMetadata>: Sync,
<PS as ParseStrategy>::Output<ContextMetadata>: Sync,
<PS as ParseStrategy>::Output<FsUseMetadata>: Sync,
<PS as ParseStrategy>::Output<TypeMetadata>: Sync,
<PS as ParseStrategy>::Output<ConditionalBooleanMetadata>: Sync,
<PS as ParseStrategy>::Output<CategoryMetadata>: Sync,
<PS as ParseStrategy>::Output<ConditionalNodeMetadata>: Sync,
<PS as ParseStrategy>::Slice<ConditionalNodeDatum>: Sync,
<PS as ParseStrategy>::Output<InfinitiBandEndPortMetadata>: Sync,
<PS as ParseStrategy>::Output<ClassValidateTransitionsCount>: Sync,
<PS as ParseStrategy>::Output<RoleStaticMetadata>: Sync,
<PS as ParseStrategy>::Output<UserMetadata>: Sync,
<PS as ParseStrategy>::Output<SensitivityStaticMetadata>: Sync,
<PS as ParseStrategy>::Output<CommonSymbolStaticMetadata>: Sync,
<PS as ParseStrategy>::Output<PermissionMetadata>: Sync,
<PS as ParseStrategy>::Output<ConstraintMetadata>: Sync,
<PS as ParseStrategy>::Output<ClassMetadata>: Sync,
<PS as ParseStrategy>::Output<ConstraintCount>: Sync,
impl<PS> Unpin for Unvalidated<PS>where
<PS as ParseStrategy>::Output<Magic>: Unpin,
<PS as ParseStrategy>::Output<PolicyVersion>: Unpin,
<PS as ParseStrategy>::Output<Counts>: Unpin,
<PS as ParseStrategy>::Output<U32<LittleEndian>>: Unpin,
<PS as ParseStrategy>::Output<SignatureMetadata>: Unpin,
<PS as ParseStrategy>::Slice<u8>: Unpin,
<PS as ParseStrategy>::Output<Metadata>: Unpin,
<PS as ParseStrategy>::Slice<MapItem>: Unpin,
<PS as ParseStrategy>::Output<Metadata>: Unpin,
PS: Unpin,
<PS as ParseStrategy>::Slice<RoleTransition>: Unpin,
<PS as ParseStrategy>::Slice<RoleAllow>: Unpin,
<PS as ParseStrategy>::Output<AccessVectorMetadata>: Unpin,
<PS as ParseStrategy>::Output<PortMetadata>: Unpin,
<PS as ParseStrategy>::Output<[U32<LittleEndian>; 4]>: Unpin,
<PS as ParseStrategy>::Output<RangeTransitionMetadata>: Unpin,
<PS as ParseStrategy>::Output<ClassDefaults>: Unpin,
<PS as ParseStrategy>::Output<SpecifiedDriverPermissions>: Unpin,
<PS as ParseStrategy>::Output<DeprecatedFilenameTransitionMetadata>: Unpin,
<PS as ParseStrategy>::Output<ContextMetadata>: Unpin,
<PS as ParseStrategy>::Output<FsUseMetadata>: Unpin,
<PS as ParseStrategy>::Output<TypeMetadata>: Unpin,
<PS as ParseStrategy>::Output<ConditionalBooleanMetadata>: Unpin,
<PS as ParseStrategy>::Output<CategoryMetadata>: Unpin,
<PS as ParseStrategy>::Output<ConditionalNodeMetadata>: Unpin,
<PS as ParseStrategy>::Slice<ConditionalNodeDatum>: Unpin,
<PS as ParseStrategy>::Output<InfinitiBandEndPortMetadata>: Unpin,
<PS as ParseStrategy>::Output<ClassValidateTransitionsCount>: Unpin,
<PS as ParseStrategy>::Output<RoleStaticMetadata>: Unpin,
<PS as ParseStrategy>::Output<UserMetadata>: Unpin,
<PS as ParseStrategy>::Output<SensitivityStaticMetadata>: Unpin,
<PS as ParseStrategy>::Output<CommonSymbolStaticMetadata>: Unpin,
<PS as ParseStrategy>::Output<PermissionMetadata>: Unpin,
<PS as ParseStrategy>::Output<ConstraintMetadata>: Unpin,
<PS as ParseStrategy>::Output<ClassMetadata>: Unpin,
<PS as ParseStrategy>::Output<ConstraintCount>: Unpin,
impl<PS> UnwindSafe for Unvalidated<PS>where
<PS as ParseStrategy>::Output<Magic>: UnwindSafe,
<PS as ParseStrategy>::Output<PolicyVersion>: UnwindSafe,
<PS as ParseStrategy>::Output<Counts>: UnwindSafe,
<PS as ParseStrategy>::Output<U32<LittleEndian>>: UnwindSafe,
<PS as ParseStrategy>::Output<SignatureMetadata>: UnwindSafe,
<PS as ParseStrategy>::Slice<u8>: UnwindSafe,
<PS as ParseStrategy>::Output<Metadata>: UnwindSafe,
<PS as ParseStrategy>::Slice<MapItem>: UnwindSafe,
<PS as ParseStrategy>::Output<Metadata>: UnwindSafe,
PS: UnwindSafe,
<PS as ParseStrategy>::Slice<RoleTransition>: UnwindSafe,
<PS as ParseStrategy>::Slice<RoleAllow>: UnwindSafe,
<PS as ParseStrategy>::Output<AccessVectorMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<PortMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<[U32<LittleEndian>; 4]>: UnwindSafe,
<PS as ParseStrategy>::Output<RangeTransitionMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<ClassDefaults>: UnwindSafe,
<PS as ParseStrategy>::Output<SpecifiedDriverPermissions>: UnwindSafe,
<PS as ParseStrategy>::Output<DeprecatedFilenameTransitionMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<ContextMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<FsUseMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<TypeMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<ConditionalBooleanMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<CategoryMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<ConditionalNodeMetadata>: UnwindSafe,
<PS as ParseStrategy>::Slice<ConditionalNodeDatum>: UnwindSafe,
<PS as ParseStrategy>::Output<InfinitiBandEndPortMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<ClassValidateTransitionsCount>: UnwindSafe,
<PS as ParseStrategy>::Output<RoleStaticMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<UserMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<SensitivityStaticMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<CommonSymbolStaticMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<PermissionMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<ConstraintMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<ClassMetadata>: UnwindSafe,
<PS as ParseStrategy>::Output<ConstraintCount>: UnwindSafe,
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