pub struct SetXattr { /* private fields */ }
Expand description
Set extended attribute, equivalent to setxattr(2)
.
Implementations§
Source§impl SetXattr
impl SetXattr
Sourcepub const CODE: u8 = 42u8
pub const CODE: u8 = 42u8
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( name: *const c_char, value: *const c_void, path: *const c_char, len: u32, ) -> Self
pub const fn flags(self, flags: i32) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl Freeze for SetXattr
impl RefUnwindSafe for SetXattr
impl !Send for SetXattr
impl !Sync for SetXattr
impl Unpin for SetXattr
impl UnwindSafe for SetXattr
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