[][src]Trait readable_perms::FChmodExt

pub trait FChmodExt {
    fn chmod(&mut self, mode: impl Into<u32>) -> Result<()>;
}

Required methods

fn chmod(&mut self, mode: impl Into<u32>) -> Result<()>

Loading content...

Implementors

impl<T> FChmodExt for T where
    T: AsRawFd
[src]

fn chmod(&mut self, mode: impl Into<u32>) -> Result<()>[src]

Perform chmod on this file to mode.

Mode can be anything that implements Into<u32>. Permissions does this, you can also pass raw mode_t values.

Notes

If you pass raw mode_t that is outside the range (0..=0o777), any extra bits are ignored.

Loading content...