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<'_>
impl Sync for EventIoKitOpen<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventIoKitOpen<'a>
impl<'a> RefUnwindSafe 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