[−][src]Trait readable_perms::FChmodExt
Required methods
Loading content...Implementations on Foreign Types
impl FChmodExt for File
[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.