/// Adds inheritance from a qgroup to this qgroup inheritance specifier.
Adds inheritance from a qgroup to this qgroup inheritance specifier.
Adds inheritance from a qgroup to this qgroup inheritance specifier .
pub fn add_group(&mut self, qgroup_id: u64) -> Result<(), Error> {
        let mut ptr = self.as_ptr();
        let errcode = unsafe { ffi::btrfs_util_qgroup_inherit_add_group(&mut ptr, qgroup_id) };
        if errcode != ffi::btrfs_util_error_BTRFS_UTIL_OK {
            Err(errcode.into())
        } else {
            self.0 = ptr;
            Ok(())
        }
    }
pub fn add_group ( & mut self , qgroup_id : u64 ) -> Result < ( ) , Error > { let mut ptr = self . as_ptr ( ) ; let errcode = unsafe { ffi :: btrfs_util_qgroup_inherit_add_group ( & mut ptr , qgroup_id ) } ; if errcode != ffi :: btrfs_util_error_BTRFS_UTIL_OK { Err ( errcode . into ( ) ) } else { self . 0 = ptr ; Ok ( ( ) ) } }
Adds inheritance from a qgroup to this qgroup inheritance specifier.
Adds inheritance from a qgroup to this qgroup inheritance specifier .
&mut self
qgroup_id
u64