#[repr(C)]pub struct es_event_uipc_bind_t {
pub dir: ShouldNotBeNull<es_file_t>,
pub filename: es_string_token_t,
pub mode: mode_t,
/* private fields */
}Available on macOS and crate feature
macos_10_15_1 only.Expand description
Fired when a UNIX-domain socket is about to be bound to a path
This event type does not support caching.
Fields§
§dir: ShouldNotBeNull<es_file_t>Describes the directory the socket file is created in
filename: es_string_token_tThe filename of the socket file
mode: mode_tThe mode of the socket file
Implementations§
Source§impl es_event_uipc_bind_t
Accessors for ShouldNotBeNull fields
impl es_event_uipc_bind_t
Accessors for ShouldNotBeNull fields
Sourcepub unsafe fn dir(&self) -> &es_file_t
pub unsafe fn dir(&self) -> &es_file_t
Gives a references to the field while checking for null.
§Safety
See ShouldNotBeNull safety requirements.
Auto Trait Implementations§
impl Freeze for es_event_uipc_bind_t
impl RefUnwindSafe for es_event_uipc_bind_t
impl !Send for es_event_uipc_bind_t
impl !Sync for es_event_uipc_bind_t
impl Unpin for es_event_uipc_bind_t
impl UnwindSafe for es_event_uipc_bind_t
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