pub unsafe trait BEProcessCapabilityGrant: NSObjectProtocol {
// Provided methods
unsafe fn invalidate(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn isValid(&self) -> bool
where Self: Sized + Message { ... }
}
Available on crate feature
BECapability
only.Expand description
An object that represents a granted capability.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn invalidate(&self) -> bool
unsafe fn invalidate(&self) -> bool
Invalidates the grant, removing the capability from the process it was granted to.