pub struct UnixMode(/* private fields */);Expand description
A Unix file mode (mode_t) value.
This type represents file permissions and type as used in POSIX systems.
Implementations§
Trait Implementations§
Source§impl From<UnixMode> for GoFileMode
Convert Unix mode_t to Go os.FileMode.
impl From<UnixMode> for GoFileMode
Convert Unix mode_t to Go os.FileMode.
This is the core conversion implementation.
impl Copy for UnixMode
impl Eq for UnixMode
impl StructuralPartialEq for UnixMode
Auto Trait Implementations§
impl Freeze for UnixMode
impl RefUnwindSafe for UnixMode
impl Send for UnixMode
impl Sync for UnixMode
impl Unpin for UnixMode
impl UnwindSafe for UnixMode
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