pub struct RejectInfo<'a> { /* private fields */ }
Available on crate feature
macos_14_0_0
and macOS only.Expand description
Provides context about failures in EventSudo
Implementations§
Source§impl<'a> RejectInfo<'a>
impl<'a> RejectInfo<'a>
Sourcepub fn plugin_name(&self) -> &'a OsStr
pub fn plugin_name(&self) -> &'a OsStr
The sudo plugin that initiated the reject
Sourcepub fn plugin_type(&self) -> es_sudo_plugin_type_t
pub fn plugin_type(&self) -> es_sudo_plugin_type_t
The sudo plugin type that initiated the reject
Sourcepub fn failure_message(&self) -> &'a OsStr
pub fn failure_message(&self) -> &'a OsStr
A reason represented by a string for the failure
Trait Implementations§
Source§impl<'a> Debug for RejectInfo<'a>
impl<'a> Debug for RejectInfo<'a>
Source§impl<'a> Hash for RejectInfo<'a>
impl<'a> Hash for RejectInfo<'a>
Source§impl<'a> PartialEq for RejectInfo<'a>
impl<'a> PartialEq for RejectInfo<'a>
impl<'a> Eq for RejectInfo<'a>
impl Send for RejectInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for RejectInfo<'a>
impl<'a> RefUnwindSafe for RejectInfo<'a>
impl<'a> !Sync for RejectInfo<'a>
impl<'a> Unpin for RejectInfo<'a>
impl<'a> UnwindSafe for RejectInfo<'a>
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