pub struct Uid(/* private fields */);
Available on crate feature
fs
only.Expand description
uid_t
—A Unix user ID.
Implementations§
Source§impl Uid
impl Uid
Sourcepub const unsafe fn from_raw(raw: __kernel_uid_t) -> Self
pub const unsafe fn from_raw(raw: __kernel_uid_t) -> Self
Sourcepub const fn as_raw(self) -> __kernel_uid_t
pub const fn as_raw(self) -> __kernel_uid_t
Converts a Uid
into a RawUid
.
Trait Implementations§
impl Copy for Uid
impl Eq for Uid
impl StructuralPartialEq for Uid
Auto Trait Implementations§
impl Freeze for Uid
impl RefUnwindSafe for Uid
impl Send for Uid
impl Sync for Uid
impl Unpin for Uid
impl UnwindSafe for Uid
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes