#[non_exhaustive]pub enum AceType {
Show 23 variants
AccessAllowed,
AccessDenied,
SystemAudit,
SystemAlarm,
AccessAllowedCompound,
AccessAllowedObject,
AccessDeniedObject,
SystemAuditObject,
SystemAlarmObject,
AccessAllowedCallback,
AccessDeniedCallback,
AccessAllowedCallbackObject,
AccessDeniedCallbackObject,
SystemAuditCallback,
SystemAlarmCallback,
SystemAuditCallbackObject,
SystemAlarmCallbackObject,
SystemMandatoryLabel,
SystemResourceAttribute,
SystemScopedPolicyId,
SystemProcessTrustLabel,
SystemAccessFilter,
Unknown(u8),
}Expand description
A classified native ACE type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AccessAllowed
Grants access.
AccessDenied
Denies access.
SystemAudit
Emits an audit event.
SystemAlarm
Raises a system alarm.
AccessAllowedCompound
A compound access-allowed ACE.
AccessAllowedObject
An object-specific access-allowed ACE.
AccessDeniedObject
An object-specific access-denied ACE.
SystemAuditObject
An object-specific system-audit ACE.
SystemAlarmObject
An object-specific system-alarm ACE.
AccessAllowedCallback
A callback access-allowed ACE.
AccessDeniedCallback
A callback access-denied ACE.
AccessAllowedCallbackObject
A callback object-specific access-allowed ACE.
AccessDeniedCallbackObject
A callback object-specific access-denied ACE.
SystemAuditCallback
A callback system-audit ACE.
SystemAlarmCallback
A callback system-alarm ACE.
SystemAuditCallbackObject
A callback object-specific system-audit ACE.
SystemAlarmCallbackObject
A callback object-specific system-alarm ACE.
SystemMandatoryLabel
A mandatory-integrity-label ACE.
SystemResourceAttribute
A resource-attribute ACE.
SystemScopedPolicyId
A scoped-policy-ID ACE.
SystemProcessTrustLabel
A process-trust-label ACE.
SystemAccessFilter
An access-filter ACE.
Unknown(u8)
An unrecognized native ACE type code.
Trait Implementations§
impl Copy for AceType
Source§impl<'de> Deserialize<'de> for AceType
impl<'de> Deserialize<'de> for AceType
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AceType
impl StructuralPartialEq for AceType
Auto Trait Implementations§
impl Freeze for AceType
impl RefUnwindSafe for AceType
impl Send for AceType
impl Sync for AceType
impl Unpin for AceType
impl UnsafeUnpin for AceType
impl UnwindSafe for AceType
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