pub struct FSetXattr { /* private fields */ }
Expand description
Set extended attribute on a file descriptor, equivalent to fsetxattr(2)
.
Implementations§
Source§impl FSetXattr
impl FSetXattr
Sourcepub const CODE: u8 = 41u8
pub const CODE: u8 = 41u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.
pub fn new( fd: impl UseFixed, name: *const c_char, value: *const c_void, len: u32, ) -> Self
pub const fn flags(self, flags: i32) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl Freeze for FSetXattr
impl RefUnwindSafe for FSetXattr
impl !Send for FSetXattr
impl !Sync for FSetXattr
impl Unpin for FSetXattr
impl UnwindSafe for FSetXattr
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