#[repr(C)]
pub struct fanotify_response { pub fd: __s32, pub response: __u32, }
Expand description

It is used to control file access.

Fields§

§fd: __s32

This is the file descriptor from the structure fanotify_event_metadata.

§response: __u32

This field indicates whether or not the permission is to be granted. Its value must be either crate::flags::FAN_ALLOW to allow the file operation or crate::flags::FAN_DENY to deny the file operation.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.