Struct endpoint_sec::EventIoKitOpen
source · pub struct EventIoKitOpen<'a> { /* private fields */ }Available on macOS only.
Expand description
Open a connection to an I/O Kit IOService event.
Implementations§
source§impl<'a> EventIoKitOpen<'a>
impl<'a> EventIoKitOpen<'a>
sourcepub fn user_client_type(&self) -> u32
pub fn user_client_type(&self) -> u32
A constant specifying the type of connection to be created, interpreted only by the IOService’s family.
Note: This corresponds to the type argument to IOServiceOpen().
sourcepub fn user_client_class(&self) -> &'a OsStr
pub fn user_client_class(&self) -> &'a OsStr
The name of the new object linked to the source file.
Trait Implementations§
source§impl<'a> Debug for EventIoKitOpen<'a>
impl<'a> Debug for EventIoKitOpen<'a>
source§impl<'a> Hash for EventIoKitOpen<'a>
impl<'a> Hash for EventIoKitOpen<'a>
source§impl<'a> PartialEq for EventIoKitOpen<'a>
impl<'a> PartialEq for EventIoKitOpen<'a>
impl<'a> Eq for EventIoKitOpen<'a>
impl Send for EventIoKitOpen<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventIoKitOpen<'a>
impl<'a> RefUnwindSafe for EventIoKitOpen<'a>
impl<'a> !Sync for EventIoKitOpen<'a>
impl<'a> Unpin for EventIoKitOpen<'a>
impl<'a> UnwindSafe for EventIoKitOpen<'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