Enum Event

Source
pub enum Event<'a> {
Show 146 variants AuthExec(EventExec<'a>), AuthOpen(EventOpen<'a>), AuthKextLoad(EventKextLoad<'a>), AuthMmap(EventMmap<'a>), AuthMprotect(EventMprotect<'a>), AuthMount(EventMount<'a>), AuthRename(EventRename<'a>), AuthSignal(EventSignal<'a>), AuthUnlink(EventUnlink<'a>), NotifyExec(EventExec<'a>), NotifyOpen(EventOpen<'a>), NotifyFork(EventFork<'a>), NotifyClose(EventClose<'a>), NotifyCreate(EventCreate<'a>), NotifyExchangeData(EventExchangeData<'a>), NotifyExit(EventExit<'a>), NotifyGetTask(EventGetTask<'a>), NotifyKextLoad(EventKextLoad<'a>), NotifyKextUnload(EventKextUnload<'a>), NotifyLink(EventLink<'a>), NotifyMmap(EventMmap<'a>), NotifyMprotect(EventMprotect<'a>), NotifyMount(EventMount<'a>), NotifyUnmount(EventUnmount<'a>), NotifyIoKitOpen(EventIoKitOpen<'a>), NotifyRename(EventRename<'a>), NotifySetAttrlist(EventSetAttrlist<'a>), NotifySetExtAttr(EventSetExtAttr<'a>), NotifySetFlags(EventSetFlags<'a>), NotifySetMode(EventSetMode<'a>), NotifySetOwner(EventSetOwner<'a>), NotifySignal(EventSignal<'a>), NotifyUnlink(EventUnlink<'a>), NotifyWrite(EventWrite<'a>), AuthFileProviderMaterialize(EventFileProviderMaterialize<'a>), NotifyFileProviderMaterialize(EventFileProviderMaterialize<'a>), AuthFileProviderUpdate(EventFileProviderUpdate<'a>), NotifyFileProviderUpdate(EventFileProviderUpdate<'a>), AuthReadLink(EventReadLink<'a>), NotifyReadLink(EventReadLink<'a>), AuthTruncate(EventTruncate<'a>), NotifyTruncate(EventTruncate<'a>), AuthLink(EventLink<'a>), NotifyLookup(EventLookup<'a>), AuthCreate(EventCreate<'a>), AuthSetAttrlist(EventSetAttrlist<'a>), AuthSetExtAttr(EventSetExtAttr<'a>), AuthSetFlags(EventSetFlags<'a>), AuthSetMode(EventSetMode<'a>), AuthSetOwner(EventSetOwner<'a>), AuthChdir(EventChdir<'a>), NotifyChdir(EventChdir<'a>), AuthGetAttrlist(EventGetAttrlist<'a>), NotifyGetAttrlist(EventGetAttrlist<'a>), NotifyStat(EventStat<'a>), NotifyAccess(EventAccess<'a>), AuthChroot(EventChroot<'a>), NotifyChroot(EventChroot<'a>), AuthUTimes(EventUTimes<'a>), NotifyUTimes(EventUTimes<'a>), AuthClone(EventClone<'a>), NotifyClone(EventClone<'a>), NotifyFcntl(EventFcntl<'a>), AuthGetExtAttr(EventGetExtAttr<'a>), NotifyGetExtAttr(EventGetExtAttr<'a>), AuthListExtAttr(EventListExtAttr<'a>), NotifyListExtAttr(EventListExtAttr<'a>), AuthReadDir(EventReadDir<'a>), NotifyReadDir(EventReadDir<'a>), AuthDeleteExtAttr(EventDeleteExtAttr<'a>), NotifyDeleteExtAttr(EventDeleteExtAttr<'a>), AuthFsGetPath(EventFsGetPath<'a>), NotifyFsGetPath(EventFsGetPath<'a>), NotifyDup(EventDup<'a>), AuthSetTime(EventSetTime<'a>), NotifySetTime(EventSetTime<'a>), NotifyUipcBind(EventUipcBind<'a>), AuthUipcBind(EventUipcBind<'a>), NotifyUipcConnect(EventUipcConnect<'a>), AuthUipcConnect(EventUipcConnect<'a>), AuthExchangeData(EventExchangeData<'a>), AuthSetAcl(EventSetAcl<'a>), NotifySetAcl(EventSetAcl<'a>), NotifyPtyGrant(EventPtyGrant<'a>), NotifyPtyClose(EventPtyClose<'a>), AuthProcCheck(EventProcCheck<'a>), NotifyProcCheck(EventProcCheck<'a>), AuthGetTask(EventGetTask<'a>), AuthSearchFs(EventSearchFs<'a>), NotifySearchFs(EventSearchFs<'a>), AuthFcntl(EventFcntl<'a>), AuthIoKitOpen(EventIoKitOpen<'a>), AuthProcSuspendResume(EventProcSuspendResume<'a>), NotifyProcSuspendResume(EventProcSuspendResume<'a>), NotifyCSInvalidated(EventCSInvalidated<'a>), NotifyGetTaskName(EventGetTaskName<'a>), NotifyTrace(EventTrace<'a>), NotifyRemoteThreadCreate(EventRemoteThreadCreate<'a>), AuthRemount(EventRemount<'a>), NotifyRemount(EventRemount<'a>), AuthGetTaskRead(EventGetTaskRead<'a>), NotifyGetTaskRead(EventGetTaskRead<'a>), NotifyGetTaskInspect(EventGetTaskInspect<'a>), NotifySetuid(EventSetuid<'a>), NotifySetgid(EventSetgid<'a>), NotifySeteuid(EventSeteuid<'a>), NotifySetegid(EventSetegid<'a>), NotifySetreuid(EventSetreuid<'a>), NotifySetregid(EventSetregid<'a>), AuthCopyFile(EventCopyFile<'a>), NotifyCopyFile(EventCopyFile<'a>), NotifyAuthentication(EventAuthentication<'a>), NotifyXpMalwareDetected(EventXpMalwareDetected<'a>), NotifyXpMalwareRemediated(EventXpMalwareRemediated<'a>), NotifyLwSessionLogin(EventLwSessionLogin<'a>), NotifyLwSessionLogout(EventLwSessionLogout<'a>), NotifyLwSessionLock(EventLwSessionLock<'a>), NotifyLwSessionUnlock(EventLwSessionUnlock<'a>), NotifyScreensharingAttach(EventScreensharingAttach<'a>), NotifyScreensharingDetach(EventScreensharingDetach<'a>), NotifyOpensshLogin(EventOpensshLogin<'a>), NotifyOpensshLogout(EventOpensshLogout<'a>), NotifyLoginLogin(EventLoginLogin<'a>), NotifyLoginLogout(EventLoginLogout<'a>), NotifyBtmLaunchItemAdd(EventBtmLaunchItemAdd<'a>), NotifyBtmLaunchItemRemove(EventBtmLaunchItemRemove<'a>), NotifyProfileAdd(EventProfileAdd<'a>), NotifyProfileRemove(EventProfileRemove<'a>), NotifySu(EventSu<'a>), NotifyAuthorizationPetition(EventAuthorizationPetition<'a>), NotifyAuthorizationJudgement(EventAuthorizationJudgement<'a>), NotifySudo(EventSudo<'a>), NotifyOdGroupAdd(EventOdGroupAdd<'a>), NotifyOdGroupRemove(EventOdGroupRemove<'a>), NotifyOdGroupSet(EventOdGroupSet<'a>), NotifyOdModifyPassword(EventOdModifyPassword<'a>), NotifyOdDisableUser(EventOdDisableUser<'a>), NotifyOdEnableUser(EventOdEnableUser<'a>), NotifyOdAttributeValueAdd(EventOdAttributeValueAdd<'a>), NotifyOdAttributeValueRemove(EventOdAttributeValueRemove<'a>), NotifyOdAttributeSet(EventOdAttributeSet<'a>), NotifyOdCreateUser(EventOdCreateUser<'a>), NotifyOdCreateGroup(EventOdCreateGroup<'a>), NotifyOdDeleteUser(EventOdDeleteUser<'a>), NotifyOdDeleteGroup(EventOdDeleteGroup<'a>), NotifyXpcConnect(EventXpcConnect<'a>),
}
Available on macOS only.
Expand description

Information related to an event.

Variants§

§

AuthExec(EventExec<'a>)

Authorization request for a process execution.

§

AuthOpen(EventOpen<'a>)

Authorization request for a file system object being opened.

§

AuthKextLoad(EventKextLoad<'a>)

Authorization request for a kernel extension being loaded.

§

AuthMmap(EventMmap<'a>)

Authorization request for a memory map of a file.

§

AuthMprotect(EventMprotect<'a>)

Authorization request for a change of protection for pages.

§

AuthMount(EventMount<'a>)

Authorization request for a file system being mounted.

§

AuthRename(EventRename<'a>)

Authorization request for a file system object being renamed.

§

AuthSignal(EventSignal<'a>)

Authorization request for a signal being sent to a process.

Authorization request for a file system object being unlinked.

§

NotifyExec(EventExec<'a>)

Notify a process execution.

§

NotifyOpen(EventOpen<'a>)

Notify a file system object being open.

§

NotifyFork(EventFork<'a>)

Notify a new process being forked.

§

NotifyClose(EventClose<'a>)

Notify a new file system object being closed.

§

NotifyCreate(EventCreate<'a>)

Notify a file system object being created.

§

NotifyExchangeData(EventExchangeData<'a>)

Notify data being atomically exchanged between two files.

§

NotifyExit(EventExit<'a>)

Notify a process termination.

§

NotifyGetTask(EventGetTask<'a>)

Notify a process’s task control port event.

§

NotifyKextLoad(EventKextLoad<'a>)

Notify a kernel extension being loaded.

§

NotifyKextUnload(EventKextUnload<'a>)

Notify a kernel extension being unloaded.

Notify a file system object being linked.

§

NotifyMmap(EventMmap<'a>)

Notify a memory map of a file.

§

NotifyMprotect(EventMprotect<'a>)

Notify a change of protection for pages.

§

NotifyMount(EventMount<'a>)

Notify a file system being mounted.

§

NotifyUnmount(EventUnmount<'a>)

Notify a file system being unmounted.

§

NotifyIoKitOpen(EventIoKitOpen<'a>)

Notify a connection being opened to an I/O Kit IOService.

§

NotifyRename(EventRename<'a>)

Notify a file system object being renamed.

§

NotifySetAttrlist(EventSetAttrlist<'a>)

Notify when file system attributes are being modified.

§

NotifySetExtAttr(EventSetExtAttr<'a>)

Notify when extended attribute are being set.

§

NotifySetFlags(EventSetFlags<'a>)

Notify when a file system object flags are being modified.

§

NotifySetMode(EventSetMode<'a>)

Notify when a file system object mode is being modified.

§

NotifySetOwner(EventSetOwner<'a>)

Notify when a file system object owner is being modified.

§

NotifySignal(EventSignal<'a>)

Notify a signal being sent to a process.

Notify a file system object being unlinked.

§

NotifyWrite(EventWrite<'a>)

Notify a write to a file.

§

AuthFileProviderMaterialize(EventFileProviderMaterialize<'a>)

Authorization request for a file being materialize via the FileProvider framework.

§

NotifyFileProviderMaterialize(EventFileProviderMaterialize<'a>)

Notify a file being materialize via the FileProvider framework.

§

AuthFileProviderUpdate(EventFileProviderUpdate<'a>)

Authorization request for file contents being updated via the FileProvider framework.

§

NotifyFileProviderUpdate(EventFileProviderUpdate<'a>)

Notify a file contents being updated via the FileProvider framework.

Authorization request for a symbolic link being resolved.

Notify a symbolic link being resolved.

§

AuthTruncate(EventTruncate<'a>)

Authorization request for a file being truncated.

§

NotifyTruncate(EventTruncate<'a>)

Notify a file being truncated.

Authorization request for a file system object being linked.

§

NotifyLookup(EventLookup<'a>)

Notify a file system object being lookup.

§

AuthCreate(EventCreate<'a>)

Authorization request for a file system object being created.

§

AuthSetAttrlist(EventSetAttrlist<'a>)

Authorization request for file system attributes being modified.

§

AuthSetExtAttr(EventSetExtAttr<'a>)

Authorization request for an extended attribute being set.

§

AuthSetFlags(EventSetFlags<'a>)

Authorization request for a file system object flags being modified.

§

AuthSetMode(EventSetMode<'a>)

Authorization request for a file system object mode being modified.

§

AuthSetOwner(EventSetOwner<'a>)

Authorization request for a file system object owner being modified.

§

AuthChdir(EventChdir<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for when the current working directory of a process is being changed.

§

NotifyChdir(EventChdir<'a>)

Available on crate feature macos_10_15_1 only.

Notify when the current working directory change for a process.

§

AuthGetAttrlist(EventGetAttrlist<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for file system attributes being retrieved.

§

NotifyGetAttrlist(EventGetAttrlist<'a>)

Available on crate feature macos_10_15_1 only.

Notify when file system attributes are being retrieved.

§

NotifyStat(EventStat<'a>)

Available on crate feature macos_10_15_1 only.

Notify when a file is being stat.

§

NotifyAccess(EventAccess<'a>)

Available on crate feature macos_10_15_1 only.

Notify when a file access test is performed.

§

AuthChroot(EventChroot<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for a chroot.

§

NotifyChroot(EventChroot<'a>)

Available on crate feature macos_10_15_1 only.

Notify when a chroot is performed.

§

AuthUTimes(EventUTimes<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for a file access and modification times change.

§

NotifyUTimes(EventUTimes<'a>)

Available on crate feature macos_10_15_1 only.

Notify when a file access and modification times changed.

§

AuthClone(EventClone<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for a file being cloned.

§

NotifyClone(EventClone<'a>)

Available on crate feature macos_10_15_1 only.

Notify for a file being cloned.

§

NotifyFcntl(EventFcntl<'a>)

Available on crate feature macos_10_15_1 only.

Notify for a file control event.

§

AuthGetExtAttr(EventGetExtAttr<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for extended attribute being retrieved.

§

NotifyGetExtAttr(EventGetExtAttr<'a>)

Available on crate feature macos_10_15_1 only.

Notify when extended attribute are being retrieved.

§

AuthListExtAttr(EventListExtAttr<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for extended attributes being listed.

§

NotifyListExtAttr(EventListExtAttr<'a>)

Available on crate feature macos_10_15_1 only.

Notify when extended attributes are being listed.

§

AuthReadDir(EventReadDir<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for directory entries being read.

§

NotifyReadDir(EventReadDir<'a>)

Available on crate feature macos_10_15_1 only.

Notify when directory entries are being read.

§

AuthDeleteExtAttr(EventDeleteExtAttr<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for an extended attribute being deleted.

§

NotifyDeleteExtAttr(EventDeleteExtAttr<'a>)

Available on crate feature macos_10_15_1 only.

Notify when an extended attribute are being deleted.

§

AuthFsGetPath(EventFsGetPath<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for a file system path being retrieved based on FSID.

§

NotifyFsGetPath(EventFsGetPath<'a>)

Available on crate feature macos_10_15_1 only.

Notify when a file system path is retrieved based on FSID.

§

NotifyDup(EventDup<'a>)

Available on crate feature macos_10_15_1 only.

Notify when a file descriptor is being duplicated.

§

AuthSetTime(EventSetTime<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for the system time being modified.

§

NotifySetTime(EventSetTime<'a>)

Available on crate feature macos_10_15_1 only.

Notify the system time being modified.

§

NotifyUipcBind(EventUipcBind<'a>)

Available on crate feature macos_10_15_1 only.

Notify a UNIX-domain socket is about to be bound to a path.

§

AuthUipcBind(EventUipcBind<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request to bind a UNIX-domain socket to a path.

§

NotifyUipcConnect(EventUipcConnect<'a>)

Available on crate feature macos_10_15_1 only.

Notify a UNIX-domain socket is about to be connected.

§

AuthUipcConnect(EventUipcConnect<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request to connect a UNIX-domain socket.

§

AuthExchangeData(EventExchangeData<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request for data being atomically exchanged between two files.

§

AuthSetAcl(EventSetAcl<'a>)

Available on crate feature macos_10_15_1 only.

Authorization request to set a file’s ACL.

§

NotifySetAcl(EventSetAcl<'a>)

Available on crate feature macos_10_15_1 only.

Notify a file’s ACL was set.

§

NotifyPtyGrant(EventPtyGrant<'a>)

Available on crate feature macos_10_15_4 only.

Notify a pseudoterminal control device was granted.

§

NotifyPtyClose(EventPtyClose<'a>)

Available on crate feature macos_10_15_4 only.

Notify a pseudoterminal control device was closed.

§

AuthProcCheck(EventProcCheck<'a>)

Available on crate feature macos_10_15_4 only.

Authorization request for retrieving process information.

§

NotifyProcCheck(EventProcCheck<'a>)

Available on crate feature macos_10_15_4 only.

Notify about retrieval of process information.

§

AuthGetTask(EventGetTask<'a>)

Available on crate feature macos_10_15_4 only.

Authorization request for a process’s task control port event.

§

AuthSearchFs(EventSearchFs<'a>)

Available on crate feature macos_11_0_0 only.

Authorization request for an access control check being performed when searching a volume or mounted filesystem.

§

NotifySearchFs(EventSearchFs<'a>)

Available on crate feature macos_11_0_0 only.

Notify for an access control check performed when searching a volume or mounted filesystem.

§

AuthFcntl(EventFcntl<'a>)

Available on crate feature macos_11_0_0 only.

Authorization request for a file control.

§

AuthIoKitOpen(EventIoKitOpen<'a>)

Available on crate feature macos_11_0_0 only.

Authorization request for a connection being opened to an I/O Kit IOService.

§

AuthProcSuspendResume(EventProcSuspendResume<'a>)

Available on crate feature macos_11_0_0 only.

Authorization request for one of pid_suspend(), pid_resume() or pid_shutdown_sockets() to be called

§

NotifyProcSuspendResume(EventProcSuspendResume<'a>)

Available on crate feature macos_11_0_0 only.

called on a process.

§

NotifyCSInvalidated(EventCSInvalidated<'a>)

Available on crate feature macos_11_0_0 only.

Notify for one of pid_suspend(), pid_resume() or pid_shutdown_sockets() is being

§

NotifyGetTaskName(EventGetTaskName<'a>)

Available on crate feature macos_11_0_0 only.

called on a process.

§

NotifyTrace(EventTrace<'a>)

Available on crate feature macos_11_0_0 only.

Notify for a code signing status for a process being invalidated.

§

NotifyRemoteThreadCreate(EventRemoteThreadCreate<'a>)

Available on crate feature macos_11_0_0 only.

Notify for the recuperation of a process’s task name port.

§

AuthRemount(EventRemount<'a>)

Available on crate feature macos_11_0_0 only.

Notify for an attempt to attach another process.

§

NotifyRemount(EventRemount<'a>)

Available on crate feature macos_11_0_0 only.

Notify a process has attempted to create a thread in another process.

§

AuthGetTaskRead(EventGetTaskRead<'a>)

Available on crate feature macos_11_3_0 only.

Authorization request for a file system being remounted.

§

NotifyGetTaskRead(EventGetTaskRead<'a>)

Available on crate feature macos_11_3_0 only.

Notify a file system being remounted.

§

NotifyGetTaskInspect(EventGetTaskInspect<'a>)

Available on crate feature macos_11_3_0 only.

Authorization request for the recuperation of a process’s task read port.

§

NotifySetuid(EventSetuid<'a>)

Available on crate feature macos_12_0_0 only.

Notify for the recuperation of a process’s task read port.

§

NotifySetgid(EventSetgid<'a>)

Available on crate feature macos_12_0_0 only.

Notify for the recuperation of a process’s task inspect port.

§

NotifySeteuid(EventSeteuid<'a>)

Available on crate feature macos_12_0_0 only.

Notify a process has called setuid().

§

NotifySetegid(EventSetegid<'a>)

Available on crate feature macos_12_0_0 only.

Notify a process has called setgid().

§

NotifySetreuid(EventSetreuid<'a>)

Available on crate feature macos_12_0_0 only.

Notify a process has called seteuid().

§

NotifySetregid(EventSetregid<'a>)

Available on crate feature macos_12_0_0 only.

Notify a process has called setegid().

§

AuthCopyFile(EventCopyFile<'a>)

Available on crate feature macos_12_0_0 only.

Notify a process has called setreuid().

§

NotifyCopyFile(EventCopyFile<'a>)

Available on crate feature macos_12_0_0 only.

Notify a process has called setregid().

§

NotifyAuthentication(EventAuthentication<'a>)

Available on crate feature macos_13_0_0 only.

Notify an authentication was performed.

§

NotifyXpMalwareDetected(EventXpMalwareDetected<'a>)

Available on crate feature macos_13_0_0 only.

Notify that XProtect detected malware.

§

NotifyXpMalwareRemediated(EventXpMalwareRemediated<'a>)

Available on crate feature macos_13_0_0 only.

Notify that XProtect remediated malware.

§

NotifyLwSessionLogin(EventLwSessionLogin<'a>)

Available on crate feature macos_13_0_0 only.

Notify that LoginWindow has logged in a user.

§

NotifyLwSessionLogout(EventLwSessionLogout<'a>)

Available on crate feature macos_13_0_0 only.

Notify that LoginWindow has logged out a user.

§

NotifyLwSessionLock(EventLwSessionLock<'a>)

Available on crate feature macos_13_0_0 only.

Notify that LoginWindow locked the screen of a session.

§

NotifyLwSessionUnlock(EventLwSessionUnlock<'a>)

Available on crate feature macos_13_0_0 only.

Notify that LoginWindow unlocked the screen of a session.

§

NotifyScreensharingAttach(EventScreensharingAttach<'a>)

Available on crate feature macos_13_0_0 only.

that Screen Sharing has attached to a graphical session.

§

NotifyScreensharingDetach(EventScreensharingDetach<'a>)

Available on crate feature macos_13_0_0 only.

Notify that Screen Sharing has detached from a graphical session.

§

NotifyOpensshLogin(EventOpensshLogin<'a>)

Available on crate feature macos_13_0_0 only.

Notify about an OpenSSH login event.

§

NotifyOpensshLogout(EventOpensshLogout<'a>)

Available on crate feature macos_13_0_0 only.

Notify about an OpenSSH logout event.

§

NotifyLoginLogin(EventLoginLogin<'a>)

Available on crate feature macos_13_0_0 only.

Notify about an authenticated login event from /usr/bin/login.

§

NotifyLoginLogout(EventLoginLogout<'a>)

Available on crate feature macos_13_0_0 only.

Notify about an authenticated logout event from /usr/bin/login.

§

NotifyBtmLaunchItemAdd(EventBtmLaunchItemAdd<'a>)

Available on crate feature macos_13_0_0 only.

Notify for a launch item being made known to background task management.

§

NotifyBtmLaunchItemRemove(EventBtmLaunchItemRemove<'a>)

Available on crate feature macos_13_0_0 only.

Notify for a launch item being removed from background task management.

§

NotifyProfileAdd(EventProfileAdd<'a>)

Available on crate feature macos_14_0_0 only.

Notify about Profiles installed on the system.

§

NotifyProfileRemove(EventProfileRemove<'a>)

Available on crate feature macos_14_0_0 only.

Notify about Profiles removed on the system.

§

NotifySu(EventSu<'a>)

Available on crate feature macos_14_0_0 only.

Notify about a su policy decisions event.

§

NotifyAuthorizationPetition(EventAuthorizationPetition<'a>)

Available on crate feature macos_14_0_0 only.

Notify about a process petitioned for certain authorization rights.

§

NotifyAuthorizationJudgement(EventAuthorizationJudgement<'a>)

Available on crate feature macos_14_0_0 only.

Notification that a process had it’s right petition judged

§

NotifySudo(EventSudo<'a>)

Available on crate feature macos_14_0_0 only.

Notification about a sudo event.

§

NotifyOdGroupAdd(EventOdGroupAdd<'a>)

Available on crate feature macos_14_0_0 only.

Notification about an OD group add event.

§

NotifyOdGroupRemove(EventOdGroupRemove<'a>)

Available on crate feature macos_14_0_0 only.

Notification about an OD group remove event.

§

NotifyOdGroupSet(EventOdGroupSet<'a>)

Available on crate feature macos_14_0_0 only.

Notification about a group that had its members initialised or replaced.

§

NotifyOdModifyPassword(EventOdModifyPassword<'a>)

Available on crate feature macos_14_0_0 only.

Notification about a account that had its password modified.

§

NotifyOdDisableUser(EventOdDisableUser<'a>)

Available on crate feature macos_14_0_0 only.

Notification about a user account that was disabled.

§

NotifyOdEnableUser(EventOdEnableUser<'a>)

Available on crate feature macos_14_0_0 only.

Notification about a user account that was enabled.

§

NotifyOdAttributeValueAdd(EventOdAttributeValueAdd<'a>)

Available on crate feature macos_14_0_0 only.

Notification about an attribute value that was added to a record.

§

NotifyOdAttributeValueRemove(EventOdAttributeValueRemove<'a>)

Available on crate feature macos_14_0_0 only.

Notification about an attribute value that was removed from a record.

§

NotifyOdAttributeSet(EventOdAttributeSet<'a>)

Available on crate feature macos_14_0_0 only.

Notification about an attribute that was set.

§

NotifyOdCreateUser(EventOdCreateUser<'a>)

Available on crate feature macos_14_0_0 only.

Notification about an account that was created.

§

NotifyOdCreateGroup(EventOdCreateGroup<'a>)

Available on crate feature macos_14_0_0 only.

Notification about a group that was created.

§

NotifyOdDeleteUser(EventOdDeleteUser<'a>)

Available on crate feature macos_14_0_0 only.

Notification about an account that was deleted.

§

NotifyOdDeleteGroup(EventOdDeleteGroup<'a>)

Available on crate feature macos_14_0_0 only.

Notification about a group that was deleted.

§

NotifyXpcConnect(EventXpcConnect<'a>)

Available on crate feature macos_14_0_0 only.

Notification for an XPC connection being established to a named service.

Implementations§

Source§

impl<'a> Event<'a>

Source

pub fn expected_response_type(&self) -> Option<ExpectedResponseType>

For Auth events, returns the type of response to use when allowing or denying.

Trait Implementations§

Source§

impl<'a> Debug for Event<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> Hash for Event<'a>

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl<'a> PartialEq for Event<'a>

Source§

fn eq(&self, other: &Event<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

const fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> Eq for Event<'a>

Source§

impl<'a> StructuralPartialEq for Event<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Event<'a>

§

impl<'a> RefUnwindSafe for Event<'a>

§

impl<'a> Send for Event<'a>

§

impl<'a> Sync for Event<'a>

§

impl<'a> Unpin for Event<'a>

§

impl<'a> UnwindSafe for Event<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> AutoreleaseSafe for T
where T: ?Sized,